LSP: 0 is not a default unless it's a number
This commit is contained in:
parent
a2ab708aef
commit
f7cc5c03ec
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ function applyInput(){
|
|||
|
||||
var objpath = findObjPath($(this));
|
||||
|
||||
if (($(this).val() == '') || ($(this).val() == 0)) {
|
||||
if (($(this).val() == '') || (($(this).val() == 0) && ($(this).attr('type') == 'number'))) {
|
||||
eval('delete '+objpath+';');
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue