differenciate '' from false
This commit is contained in:
parent
506693730c
commit
2f673dcd03
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ var editObject = function(container, data, refresh){
|
|||
}
|
||||
|
||||
data[$(this).attr('title')] = v
|
||||
if (v=='') delete data[$(this).attr('title')]
|
||||
if (v==='') delete data[$(this).attr('title')]
|
||||
updateDom(container,data)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue