fix tabs added by code where not reported and sometimes missing clickable class for image buttons

This commit is contained in:
Ralf Becker
2018-12-04 17:05:39 +01:00
parent 63fa1e98db
commit dc073f858a
2 changed files with 2 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ var et2_button = (function(){ "use strict"; return et2_baseWidget.extend([et2_II
{
this.image = jQuery(document.createElement("img"))
.addClass("et2_button et2_button_icon");
if (!this.options.readonly) this.image.addClass("et2_clickable");
this.setDOMNode(this.image[0]);
return;
}