From acc674c006dc545f1ccfb32470201362aefb7d39 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Mon, 25 Jul 2016 13:31:04 +0000 Subject: - Bestellbedingungen (Backend) überarbeitet - InlineEdit Textarea ermöglicht MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5690 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/js/editable.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'views/js/editable.js') diff --git a/views/js/editable.js b/views/js/editable.js index bc0be99..280730b 100644 --- a/views/js/editable.js +++ b/views/js/editable.js @@ -22,8 +22,10 @@ } }; - - if (options.type == 'select' && typeof options.data == "string") { + + if (typeof options.type == "string") opt['type'] = options.type; + + if (options.type == 'string' && typeof options.data == "string") { var ar = []; var arData = jQuery.parseJSON(options.data); -- cgit v1.2.3