public_html/js
Aleksander Machniak
machniak at kolabsys.com
Tue Sep 10 14:03:46 CEST 2013
public_html/js/kolab_admin.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bb1f1eedbf737e44af81413beb50c3f442ee2dd5
Author: Aleksander Machniak <alec at alec.pl>
Date: Tue Sep 10 14:03:15 2013 +0200
Fix issue where empty mailquota value was sent as "kb" (Bug #2110)
diff --git a/public_html/js/kolab_admin.js b/public_html/js/kolab_admin.js
index c2ee52c..2433c10 100644
--- a/public_html/js/kolab_admin.js
+++ b/public_html/js/kolab_admin.js
@@ -764,7 +764,7 @@ function kolab_admin()
// quota inputs
$('input[data-type="quota"]', form).each(function() {
var unit = $('select[name="' + this.name + '-unit"]').val();
- if (unit)
+ if (unit && this.value)
data.json[this.name] = this.value + unit;
delete data.json[this.name + '-unit'];
});
More information about the commits
mailing list