differenciate '' from false

This commit is contained in:
jean-emmanuel 2016-03-14 21:37:17 +01:00
parent 506693730c
commit 2f673dcd03

View file

@ -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)
})