From b625ec6f5f514b4c793fb5786332e8880beb34d0 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Tue, 3 Nov 2020 10:51:03 +0000 Subject: - Bugfix: Wordpress ohne Gutenberg führt mit dem Shop nicht mehr zum Abbruch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7804 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/js/editable.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'views/js/editable.js') 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)) { -- cgit v1.2.3