1
0
Fork 0
forked from 0x2620/oxjs

Ox.Dialog rewrite

This commit is contained in:
rolux 2011-08-15 14:18:14 +02:00
commit e063626bdc
10 changed files with 762 additions and 513 deletions

View file

@ -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;
};

View file

@ -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');
}
},
/*@