forked from extern/egroupware
Fix JS error 'Cannot read property 'css' of null in calendar edit
This commit is contained in:
parent
24003deafa
commit
a876330f1e
@ -196,7 +196,7 @@ var et2_button = (function(){ "use strict"; return et2_baseWidget.extend([et2_II
|
||||
{
|
||||
this.image.attr("src", src);
|
||||
}
|
||||
else if (this.options.background_image)
|
||||
else if (this.options.background_image && this.btn)
|
||||
{
|
||||
this.btn.css("background-image","url("+src+")");
|
||||
this.btn.addClass('et2_button_with_image');
|
||||
|
Loading…
Reference in New Issue
Block a user