[Zope-CVS] CVS: Packages/Moztop/moztop/content/Inspector - ExplorerOverlay.xul:1.15
Stephan Richter
srichter@cbu.edu
Thu, 16 Jan 2003 20:48:32 -0500
Update of /cvs-repository/Packages/Moztop/moztop/content/Inspector
In directory cvs.zope.org:/tmp/cvs-serv29825/moztop/content/Inspector
Modified Files:
ExplorerOverlay.xul
Log Message:
Got Popup Menus to work. All you needed to do is to move the commandset
defintion right before the menu.
=== Packages/Moztop/moztop/content/Inspector/ExplorerOverlay.xul 1.14 => 1.15 ===
--- Packages/Moztop/moztop/content/Inspector/ExplorerOverlay.xul:1.14 Thu Jan 16 17:50:08 2003
+++ Packages/Moztop/moztop/content/Inspector/ExplorerOverlay.xul Thu Jan 16 20:48:29 2003
@@ -6,14 +6,6 @@
<script type="application/x-javascript" src="Explorer.js"/>
-
- <commandset id="explorercommands">
- <command id="explorer-add:command" oncommand="addContentObject();"/>
- <command id="explorer-delete:command" oncommand="deleteContentObject();"/>
- <command id="explorer-rename:command" oncommand="renameContentObject();"/>
- <command id="explorer-cut:command" oncommand="cutContentObject();"/>
- </commandset>
-
<tabpanel id="explorer-panel">
<tree flex="1" style="width:20em;"
id="navigationtree"
@@ -85,6 +77,13 @@
<button onclick="renameContentObject();" label="Rename" />
</box>
</box>
+
+<commandset id="explorercommands">
+ <command id="explorer-add:command" oncommand="addContentObject();"/>
+ <command id="explorer-delete:command" oncommand="deleteContentObject();"/>
+ <command id="explorer-rename:command" oncommand="renameContentObject();"/>
+ <command id="explorer-cut:command" oncommand="deleteContentObject();"/>
+</commandset>
<popupset>
<popup id="explorermenu">