r1473 - branches/bxe_2_0/js

[email protected]
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Tue May 16 17:01:09 2006
New Revision: 1473

Modified:
   branches/bxe_2_0/js/widget.js
Log:
remove unneeded code

Modified: branches/bxe_2_0/js/widget.js
==============================================================================
--- branches/bxe_2_0/js/widget.js	(original)
+++ branches/bxe_2_0/js/widget.js	Tue May 16 17:01:09 2006
@@ -84,35 +84,6 @@
 Widget_AreaInfo.prototype = new Widget();
 
 function Widget_AreaInfo (areaNode) {
-	dump("JJJJJJ\n");
-	/*
-	this.node = this.initNode("span","AreaInfoPointer");
-
-	var img = this.node.appendChild(document.createElement("img"));
-	img.src = mozile_root_dir + "images/triangle.png";
-	if (areaNode.display == "block") {
-		this.Display = 'block';
-	} else {
-		this.Display = 'inline';
-	}
-	this.node.style.position = 'relative';
-	this.node.style.width = "0px";
-	this.node.style.height = "0px";
-	areaNode.parentNode.insertBefore(this.node,areaNode);
-	this.MenuPopup = new Widget_MenuPopup("XPath not defined yet");
-	var doo = this.MenuPopup.addMenuItem("View",null);
-	var submenu = new Widget_MenuPopup();
-	this.NormalModeMenu = submenu.addMenuItem("Normal",function(e) {eDOMEventCall("toggleNormalMode",e.target.Widget.AreaNode )});
-	this.NormalModeMenu.AreaNode = areaNode;
-	this.NormalModeMenu.Checked = true;
-	this.TagModeMenu = submenu.addMenuItem("Tag", function(e) {eDOMEventCall("toggleTagMode",e.target.Widget.AreaNode )});
-	this.TagModeMenu.AreaNode = areaNode;
-	this.SourceModeMenu = submenu.addMenuItem("Source",function(e) {eDOMEventCall("toggleSourceMode",e.target.Widget.AreaNode )});
-	this.SourceModeMenu.AreaNode = areaNode;
-	doo.addMenu(submenu);
-	this.node.addEventListener("contextmenu" , Widget_AreaInfo_eventHandler, false);
-	this.node.addEventListener("click" , Widget_AreaInfo_eventHandler, false);
-	*/
 }
 
 
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.