From 14419bf689d93a33de1385c1eb32bcdc705dc366 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 3 Dec 2012 15:32:55 +0530 Subject: [PATCH] linkfield: no open if type is [Select] --- public/js/legacy/widgets/form/fields.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/legacy/widgets/form/fields.js b/public/js/legacy/widgets/form/fields.js index 716b09d319..fecf18fc48 100644 --- a/public/js/legacy/widgets/form/fields.js +++ b/public/js/legacy/widgets/form/fields.js @@ -1189,7 +1189,7 @@ function makeinput_popup(me, iconsrc, iconsrc1, iconsrc2) { else // date me.btn.setAttribute('title','Select Date'); - if(iconsrc1) { + if(iconsrc1 && me.df.options!='[Select]') { var c2 = tab.rows[0].insertCell(2); $y(c2,{width: '20px'}); me.btn1 = $a(c2, 'i', iconsrc1, icon_style)