r1764 - branches/bxe_2_0/js

[email protected] Thu, 25 Oct 2007 17:31:44 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Thu Oct 25 17:31:44 2007
New Revision: 1764

Log:
BXEB-42
Darstellung des Popup-Menues


Modified:
   branches/bxe_2_0/js/widget.js

Modified: branches/bxe_2_0/js/widget.js
==============================================================================
--- branches/bxe_2_0/js/widget.js	(original)
+++ branches/bxe_2_0/js/widget.js	Thu Oct 25 17:31:44 2007
@@ -827,7 +827,9 @@
 		var selNode = cssr.startContainer.XMLNode;
 		if (!(sel.isCollapsed) && node.getAttribute("__bxe_defaultcontent") != "true") {
 			var ac = nodeX.allowedChildren;
-			
+			if (ac.length > 0) {
+				this.Popup.addSeparator("Formats");
+			}
 			for (i = 0; i < ac.length; i++) {
 				if (ac[i].nodeType != 3) {
 					if (!(ac[i].vdom.bxeDontshow) && !bxe_config.dontShowInContext[ac[i].namespaceURI + ":" +ac[i].localName] &&  ac[i].vdom.canHaveChildren ) {
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs