1
0
Fork 0
forked from 0x2620/oxjs

update URL controller

This commit is contained in:
rlx 2011-11-09 17:39:06 +00:00
commit bb59e0a3b4
3 changed files with 72 additions and 68 deletions

View file

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