summaryrefslogtreecommitdiff
path: root/public_html/js
diff options
context:
space:
mode:
Diffstat (limited to 'public_html/js')
-rw-r--r--public_html/js/kolab_admin.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public_html/js/kolab_admin.js b/public_html/js/kolab_admin.js
index 4df6339..659645c 100644
--- a/public_html/js/kolab_admin.js
+++ b/public_html/js/kolab_admin.js
@@ -1328,7 +1328,8 @@ function kolab_admin()
}
}
- this.api_post('form_value.generate', data, 'form_value_response');
+ if (data.attributes.length)
+ this.api_post('form_value.generate', data, 'form_value_response');
this.set_busy(false);
};