Wrap content in link-add with span

This commit is contained in:
Hadi Nategh 2014-05-09 15:54:11 +00:00
parent ec1346b8e5
commit e8e3de984a

View File

@ -1576,7 +1576,10 @@ var et2_link_add = et2_inputWidget.extend(
init: function() {
this._super.apply(this, arguments);
this.div = jQuery(document.createElement("div")).text(this.egw().lang("Add new"));
this.span = jQuery(document.createElement("span"))
.text(this.egw().lang("Add new"))
.addClass('et2_link_add_span');
this.div = jQuery(document.createElement("div")).append(this.span);
this.setDOMNode(this.div[0]);
},
doLoadingFinished: function() {