Commit b176bc39 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

another one for https://github.com/opnsense/core/issues/303

(cherry picked from commit b1743ce6)
parent 75fe8f50
......@@ -910,11 +910,6 @@ function resolve_ip_callback(transport) {
var resolve_text = '<small><br />' + htmlspecialchars(response.resolve_text) + '<\/small>';
jQuery('span.RESOLVE-' + resolve_class).html(resolve_text);
jQuery('img.ICON-' + resolve_class).removeAttr('title');
jQuery('img.ICON-' + resolve_class).removeAttr('alt');
jQuery('img.ICON-' + resolve_class).attr('src', '/themes/<?= $g['theme']; ?>/images/icons/icon_log_d.gif');
jQuery('img.ICON-' + resolve_class).prop('onclick', null);
// jQuery cautions that "removeAttr('onclick')" fails in some versions of IE
}
// From http://stackoverflow.com/questions/5499078/fastest-method-to-escape-html-tags-as-html-entities
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment