diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-12-16 12:40:30 (GMT) |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-12-16 12:52:39 (GMT) |
commit | 0e4c76872236be7db4599aeabef27fe6352a90f7 (patch) | |
tree | f72e572605107cff5fec243f916a80f7ad5e6408 /public_html/js | |
parent | 0dd7805c9a3136e134e701138a7a1b089849b755 (diff) | |
download | kolab-wap-0e4c76872236be7db4599aeabef27fe6352a90f7.tar.gz |
Skip regenerate request for auto-fields that are readonly (by ACL)
Diffstat (limited to 'public_html/js')
-rw-r--r-- | public_html/js/kolab_admin.js | 3 |
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); }; |