From 547ce17f81ca1fe91862db112e8602ee26d7848d Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 6 Feb 2015 11:44:41 +0000 Subject: [PATCH] focus disabled input elments, fixes #2660 --- source/UI/js/Form/Input.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/UI/js/Form/Input.js b/source/UI/js/Form/Input.js index cb34e794..409f6991 100644 --- a/source/UI/js/Form/Input.js +++ b/source/UI/js/Form/Input.js @@ -297,6 +297,9 @@ Ox.Input = function(options, self) { ) .val(self.options.value) .on({ + click: function() { + self.options.disabled && that.gainFocus(); + }, blur: blur, change: change, focus: focus