diff --git a/api/js/etemplate/et2_widget_url.js b/api/js/etemplate/et2_widget_url.js index c3f8af35fd..bc8a28cfb0 100644 --- a/api/js/etemplate/et2_widget_url.js +++ b/api/js/etemplate/et2_widget_url.js @@ -398,7 +398,7 @@ var et2_url_ro = (function(){ "use strict"; return et2_valueWidget.extend([et2_I */ getDetachedAttributes: function(_attrs) { - _attrs.push("value", "class"); + _attrs.push("value", "class", "statustext"); }, getDetachedNodes: function() @@ -418,10 +418,9 @@ var et2_url_ro = (function(){ "use strict"; return et2_valueWidget.extend([et2_I { _nodes[0].setAttribute("class", _values["class"]); } - if(this.options.statustext) - { - this.span.attr('title',this.options.statustext); - } + + // Set to original status text if not set for this row + this.span.attr('title',_values.statustext ? _values.statustext : this.options.statustext); } });}).call(this); et2_register_widget(et2_url_ro, ["url_ro", "url-email_ro", "url-phone_ro"]);