focus disabled input elments, fixes #2660

This commit is contained in:
j 2015-02-06 11:44:41 +00:00
parent 4134badf9d
commit 547ce17f81

View file

@ -297,6 +297,9 @@ Ox.Input = function(options, self) {
) )
.val(self.options.value) .val(self.options.value)
.on({ .on({
click: function() {
self.options.disabled && that.gainFocus();
},
blur: blur, blur: blur,
change: change, change: change,
focus: focus focus: focus