1
0
Fork 0
forked from 0x2620/oxjs

use Ox.Editable in Ox.AnnotationPanel

This commit is contained in:
rlx 2011-10-27 13:13:28 +00:00
commit a949ad2cf4
5 changed files with 53 additions and 27 deletions

View file

@ -103,7 +103,9 @@ Ox.Input = function(options, self) {
)*/
)
.css({width: self.options.width + 'px'})
.bindEvent(Ox.extend(self.options.type == 'textarea' ? {} : {
.bindEvent(Ox.extend(self.options.type == 'textarea' ? {
key_shift_enter: submit
} : {
key_enter: submit
}, {
key_control_v: paste,