From 28f221ef47736d65dbf05f3ec55915ce28931952 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 6 Jun 2014 15:38:15 +0300 Subject: [PATCH] hotfix clear button css issue --- source/Ox.UI/js/Form/Input.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/Input.js b/source/Ox.UI/js/Form/Input.js index 22d21c8e..4754746d 100644 --- a/source/Ox.UI/js/Form/Input.js +++ b/source/Ox.UI/js/Form/Input.js @@ -260,7 +260,9 @@ Ox.Input = function(options, self) { if (self.options.clear) { self.$button = Ox.Button({ overlap: 'left', - style: self.options.style, + // FIXME: should always be self.options.style, but there + // is a CSS bug for rounded image buttons + style: self.options.style == 'squared' ? 'squared' : '', title: 'close', tooltip: self.options.clearTooltip, type: 'image'