Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git] / docs / resources / TabCloseMenu.js
index 54b88ff..4831a3c 100644 (file)
@@ -1,9 +1,3 @@
-/*!
- * Ext JS Library 3.0.0
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
 // Very simple plugin for adding a close context menu to tabs\r
 Ext.ux.TabCloseMenu = function(){\r
     var tabs, menu, ctxItem;\r
@@ -43,6 +37,7 @@ Ext.ux.TabCloseMenu = function(){
             }\r
         });\r
         items.get(tabs.id + '-close-others').setDisabled(disableOthers);\r
+       e.stopEvent();\r
         menu.showAt(e.getPoint());\r
     }\r
-};
\ No newline at end of file
+};\r