forked from extern/egroupware
fix tabs added by code where not reported and sometimes missing clickable class for image buttons
This commit is contained in:
parent
63fa1e98db
commit
dc073f858a
@ -91,6 +91,7 @@ var et2_button = (function(){ "use strict"; return et2_baseWidget.extend([et2_II
|
|||||||
{
|
{
|
||||||
this.image = jQuery(document.createElement("img"))
|
this.image = jQuery(document.createElement("img"))
|
||||||
.addClass("et2_button et2_button_icon");
|
.addClass("et2_button et2_button_icon");
|
||||||
|
if (!this.options.readonly) this.image.addClass("et2_clickable");
|
||||||
this.setDOMNode(this.image[0]);
|
this.setDOMNode(this.image[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -216,7 +216,7 @@ var et2_tabbox = (function(){ "use strict"; return et2_valueWidget.extend([et2_I
|
|||||||
tab_options.content = tab.id;
|
tab_options.content = tab.id;
|
||||||
}
|
}
|
||||||
tabData[tab.prepend ? 'unshift' : 'push'].call(tabData, {
|
tabData[tab.prepend ? 'unshift' : 'push'].call(tabData, {
|
||||||
"id": tab.id,
|
"id": tab_id,
|
||||||
"label": this.egw().lang(tab.label),
|
"label": this.egw().lang(tab.label),
|
||||||
"widget": null,
|
"widget": null,
|
||||||
"widget_options": tab_options,
|
"widget_options": tab_options,
|
||||||
|
Loading…
Reference in New Issue
Block a user