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

This commit is contained in:
Nathan Gray 2015-03-19 16:08:16 +00:00
parent b2254a4af3
commit 62019e52eb

View File

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