Grid edit: fix bug - alert not shown when leaving edited page

This commit is contained in:
Aris Feryanto 2011-08-01 17:11:08 +08:00
parent 0d19760308
commit 080e0b6d00

View File

@ -1429,7 +1429,7 @@
});
$(window).bind('beforeunload', function(e) {
if (g.isCellEdited) {
g.saveCellWarning;
return g.saveCellWarning;
}
});