diff options
Diffstat (limited to 'views/js/editable.js')
| -rw-r--r-- | views/js/editable.js | 3 |
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))
{
|
