forked from 0x2620/oxjs
when removing an element, unbind global keyboard handler; delay request timeout dialog until after window unload
This commit is contained in:
parent
314788dd24
commit
243614cee2
3 changed files with 54 additions and 33 deletions
|
|
@ -405,6 +405,7 @@ Ox.Element = function(options, self) {
|
|||
element && element.remove(false);
|
||||
});
|
||||
Ox.Focus.remove(that.id);
|
||||
Ox.Keyboard.unbind(that.id);
|
||||
delete self.$eventHandler;
|
||||
delete Ox.UI.elements[that.id];
|
||||
that.$tooltip && that.$tooltip.remove();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue