mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 22:40:23 +01:00
Make sure button is there before trying to edit its CSS
This commit is contained in:
parent
94f223c740
commit
c944df738d
@ -166,8 +166,11 @@ var et2_button = et2_baseWidget.extend([et2_IInput, et2_IDetachedDOM],
|
|||||||
if(!found_image)
|
if(!found_image)
|
||||||
{
|
{
|
||||||
this.set_label(this.label);
|
this.set_label(this.label);
|
||||||
|
if(this.btn)
|
||||||
|
{
|
||||||
this.btn.css("background-image","");
|
this.btn.css("background-image","");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user