Grid edit: fix bug - alert everytime leave Browse page
This commit is contained in:
parent
1e2f73c6e9
commit
8ae900a3f8
@ -1417,7 +1417,9 @@
|
||||
g.postEditedCell();
|
||||
});
|
||||
$(window).bind('beforeunload', function(e) {
|
||||
return g.isCellEdited ? g.saveCellWarning : null;
|
||||
if (g.isCellEdited) {
|
||||
g.saveCellWarning;
|
||||
}
|
||||
});
|
||||
|
||||
// add table class
|
||||
|
||||
Loading…
Reference in New Issue
Block a user