r1514 - trunk/js

[email protected] Wed, 27 Sep 2006 15:04:36 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Wed Sep 27 15:04:35 2006
New Revision: 1514

Modified:
   trunk/js/widget.js
Log:
also use contextmenu on xpath


Modified: trunk/js/widget.js
==============================================================================
--- trunk/js/widget.js	(original)
+++ trunk/js/widget.js	Wed Sep 27 15:04:35 2006
@@ -633,6 +633,11 @@
 		rootNode.addEventListener("click", function(e) {
 			this.Widget.buildPopup(this);
 		}, false );
+		
+		rootNode.addEventListener("contextmenu", function(e) {
+			this.Widget.buildPopup(this);
+			e.stopPropagation();
+		}, false );
 		rootNode.XMLNode = node;
 		
 		node = node.parentNode;
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs