summaryrefslogtreecommitdiff
path: root/views/js/editable.js
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-07-25 13:31:04 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-07-25 13:31:04 +0000
commitacc674c006dc545f1ccfb32470201362aefb7d39 (patch)
tree5b6e9948815d4f3200a9b5b3e401cc7d6a5c76a7 /views/js/editable.js
parent6435b429b997420ce1b03d2e92554b930a7c184d (diff)
- Bestellbedingungen (Backend) überarbeitet
- InlineEdit Textarea ermöglicht git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5690 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/js/editable.js')
-rw-r--r--views/js/editable.js6
1 files changed, 4 insertions, 2 deletions
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);