mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 08:09:31 +08:00
REFACTOR: use tables instead of custom fields for polls (#6359)
Co-authored-by: Guo Xiang Tan <tgx_world@hotmail.com>
This commit is contained in:
@ -3,15 +3,16 @@
|
||||
const DATA_PREFIX = "data-poll-";
|
||||
const DEFAULT_POLL_NAME = "poll";
|
||||
const WHITELISTED_ATTRIBUTES = [
|
||||
"type",
|
||||
"name",
|
||||
"min",
|
||||
"close",
|
||||
"max",
|
||||
"step",
|
||||
"min",
|
||||
"name",
|
||||
"order",
|
||||
"status",
|
||||
"public",
|
||||
"close"
|
||||
"results",
|
||||
"status",
|
||||
"step",
|
||||
"type",
|
||||
];
|
||||
|
||||
function replaceToken(tokens, target, list) {
|
||||
|
Reference in New Issue
Block a user