Wrap this into jQuery object, so remove() works in IE

This commit is contained in:
Nathan Gray 2015-03-19 16:09:30 +00:00
parent b7a8e41778
commit 49d4a864b7

View File

@ -100,7 +100,7 @@ egw.extend('message', egw.MODULE_WND_LOCAL, function(_app, _wnd)
.attr('id','egw_message') .attr('id','egw_message')
.text(_msg) .text(_msg)
.addClass(_type+'_message') .addClass(_type+'_message')
.click(function() {this.remove();}) .click(function() {$j(this).remove();})
.css('position', 'absolute'); .css('position', 'absolute');
parent.prepend(msg_div); parent.prepend(msg_div);