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