Merge pull request #1873 from frissdiegurke/patch-2

[Settings] fixed data-empty usage within checkboxes
This commit is contained in:
Barış Soner Uşaklı
2014-07-23 13:40:15 -04:00

View File

@@ -21,7 +21,7 @@ define('settings/checkbox', function () {
if (value == null) {
return void 0;
}
if (empty) {
if (!empty) {
return value || void 0;
}
if (trim) {