summaryrefslogtreecommitdiff
path: root/views/js/editable.js
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2020-11-03 10:51:03 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2020-11-03 10:51:03 +0000
commitb625ec6f5f514b4c793fb5786332e8880beb34d0 (patch)
treea2e1a2dc9df479dedec648860569ce4717b87351 /views/js/editable.js
parent2c1e047909a3b153b39f50e866762ed6ed429bae (diff)
- Bugfix: Wordpress ohne Gutenberg führt mit dem Shop nicht mehr zum Abbruch
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7804 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/js/editable.js')
-rw-r--r--views/js/editable.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/js/editable.js b/views/js/editable.js
index 022f3f3..a21962a 100644
--- a/views/js/editable.js
+++ b/views/js/editable.js
@@ -24,6 +24,9 @@
};
if (typeof options.type == "string") opt['type'] = options.type;
+ if (typeof options.type == "format") opt['format'] = options.format;
+ if (typeof options.type == "viewformat") opt['viewformat'] = options.viewformat;
+ if (typeof options.type == "template") opt['template'] = options.template;
if (options.type == "select" && Array.isArray(options.data))
{