linkfield: no open if type is [Select]

This commit is contained in:
Rushabh Mehta 2012-12-03 15:32:55 +05:30
parent 3c88f3ea34
commit 14419bf689

View file

@ -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)