mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 06:19:09 +01:00
Fix JS error 'Cannot read property 'css' of null in calendar edit
This commit is contained in:
parent
67081ed4cb
commit
85dfa80d6a
@ -196,7 +196,7 @@ var et2_button = (function(){ "use strict"; return et2_baseWidget.extend([et2_II
|
|||||||
{
|
{
|
||||||
this.image.attr("src", src);
|
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.css("background-image","url("+src+")");
|
||||||
this.btn.addClass('et2_button_with_image');
|
this.btn.addClass('et2_button_with_image');
|
||||||
|
Loading…
Reference in New Issue
Block a user