This commit is contained in:
tamat
2018-03-01 20:08:59 +01:00

View File

@@ -5913,6 +5913,7 @@ ContextMenu.prototype.addItem = function( name, value, options )
ContextMenu.prototype.close = function(e, ignore_parent_menu)
{
if( e != undefined && e.which == 0 ) return
if(this.root.parentNode)
this.root.parentNode.removeChild( this.root );
if(this.parentMenu && !ignore_parent_menu)