cancelEdit

cancel Add/Edit mode and return to "ok" mode

return always 1

 

window.cancelEdit();