forked from 0x2620/oxjs
update URL controller
This commit is contained in:
parent
6c231c5cd5
commit
bb59e0a3b4
3 changed files with 72 additions and 68 deletions
|
|
@ -27,7 +27,7 @@ Ox.Focus = (function() {
|
|||
//$elements[id].removeClass('OxFocus');
|
||||
$('.OxFocus').removeClass('OxFocus'); // fixme: the above is better, and should work
|
||||
stack.length && Ox.UI.elements[stack[stack.length - 1]]
|
||||
.addClass('OxFocus').triggerEvent('focus');
|
||||
.addClass('OxFocus')/*.triggerEvent('focus')*/;
|
||||
Ox.Log('Core', 'blur', id, stack);
|
||||
}
|
||||
},
|
||||
|
|
@ -43,7 +43,7 @@ Ox.Focus = (function() {
|
|||
$('.OxFocus').removeClass('OxFocus'); // fixme: see above
|
||||
Ox.Log('Core', 'focus', id, stack);
|
||||
Ox.UI.elements[id]
|
||||
.addClass('OxFocus').triggerEvent('focus');
|
||||
.addClass('OxFocus')/*.triggerEvent('focus')*/;
|
||||
}
|
||||
},
|
||||
/*@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue