summaryrefslogtreecommitdiff
path: root/public_html
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-23 13:40:49 (GMT)
committerAleksander Machniak <alec@alec.pl>2012-10-23 13:40:49 (GMT)
commit628a7656255e87046add95108558c7cade740417 (patch)
tree48348b705938e783f404789f7df25d0e5f6962db /public_html
parentbc65634037bca27a21b88af8cb92efd3c1dc61c9 (diff)
downloadkolab-wap-628a7656255e87046add95108558c7cade740417.tar.gz
Fix handling of empty select values list
Diffstat (limited to 'public_html')
-rw-r--r--public_html/js/kolab_admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public_html/js/kolab_admin.js b/public_html/js/kolab_admin.js
index 99fc6b9..3290bf1 100644
--- a/public_html/js/kolab_admin.js
+++ b/public_html/js/kolab_admin.js
@@ -1737,7 +1737,7 @@ function kolab_admin()
else if (attr.type != 'text')
data.type = attr.type;
- if ((attr.type == 'select' || attr.type == 'multiselect') && attr.values)
+ if ((attr.type == 'select' || attr.type == 'multiselect') && attr.values && attr.values.length)
data.values = attr.values;
if (attr.optional)