1
0
Fork 0
forked from 0x2620/oxjs

fix issues with type textarea editables

This commit is contained in:
rolux 2012-01-16 12:39:16 +05:30
commit 0423800b05
4 changed files with 200 additions and 141 deletions

View file

@ -114,13 +114,12 @@ Ox.Input = function(options, self) {
height: self.options.height + 'px'
} : {})
)
.bindEvent(Ox.extend(self.options.type == 'textarea' ? {
key_shift_enter: submit
} : {
.bindEvent(Ox.extend(self.options.type == 'input' ? {
key_enter: submit
}, {
} : {}, {
key_control_v: paste,
key_escape: cancel
key_escape: cancel,
key_shift_enter: submit
}));
if (
@ -1942,5 +1941,3 @@ Ox.Range_ = function(options, self) {
return that;
};