always set emptyValue, not just for filter

print-window-tiddler
Tobias Beer 2015-12-09 23:33:07 +01:00
rodzic c2105de49c
commit ea8a8f1b53
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -61,6 +61,8 @@ SetWidget.prototype.getValue = function() {
if(results.length === 0 && this.setEmptyValue !== undefined) { if(results.length === 0 && this.setEmptyValue !== undefined) {
value = this.setEmptyValue; value = this.setEmptyValue;
} }
} else if(!value && this.setEmptyValue) {
value = this.setEmptyValue;
} }
return value; return value;
}; };