diff --git a/public/js/legacy/widgets/form/fields.js b/public/js/legacy/widgets/form/fields.js index f0c8dfbeb8..2ada0d822d 100644 --- a/public/js/legacy/widgets/form/fields.js +++ b/public/js/legacy/widgets/form/fields.js @@ -545,17 +545,18 @@ LinkField.prototype.make_input = function() { var me = this; if(me.df.no_buttons) { - this.txt = $("").appendTo(this.input_area).get(0); + this.txt = $("") + .appendTo(this.input_area).get(0); this.input = this.txt; } else { me.input = me.input_area; - - 'icon-search', 'icon-play', 'icon-plus' + me.txt = $('') - .css({"width": me.in_filter ? "100px" : "65%"}) + .css({"width": me.in_filter ? "100px" : (me.in_grid ? "35%" : "65%")}) .appendTo(me.input_area).get(0); - me.btn = $('').appendTo(me.input_area).get(0); me.btn1 = $('').appendTo(me.input_area).get(0);