forked from 0x2620/oxjs
Ox.Dialog rewrite
This commit is contained in:
parent
6e5b515e5f
commit
e063626bdc
10 changed files with 762 additions and 513 deletions
|
|
@ -318,6 +318,7 @@ Ox.Element = function(options, self) {
|
|||
that.loseFocus();
|
||||
delete self.$eventHandler;
|
||||
that.remove();
|
||||
// fixme: ok to comment out the following line?
|
||||
delete Ox.UI.elements[that.id];
|
||||
return that;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@ Ox.Focus = function() {
|
|||
index > -1 && stack.splice(index, 1);
|
||||
stack.push(id);
|
||||
$('.OxFocus').removeClass('OxFocus'); // fixme: see above
|
||||
Ox.UI.elements[id].addClass('OxFocus');
|
||||
Ox.print('focus', id, stack);
|
||||
Ox.UI.elements[id].addClass('OxFocus');
|
||||
}
|
||||
},
|
||||
/*@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue