1
0
Fork 0
forked from 0x2620/oxjs

allow for editing s/w/n/e/ values manually

This commit is contained in:
rlx 2011-06-01 13:53:09 +00:00
commit 66c8347a2a
4 changed files with 11 additions and 4 deletions

View file

@ -566,7 +566,11 @@ Ox.Input = function(options, self) {
Ox.UI.$document.unbind('keydown', keydown);
//Ox.UI.$document.unbind('keypress', keypress);
}
that.triggerEvent('blur');
// fixme: for some reason, if options.type is set, no change event fires
// as a workaround, blur sends a value. remove later...
that.triggerEvent('blur', {
value: self.options.value
});
}
function cancel() {