You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2007/05/03 02:34:22 UTC

svn commit: r534667 - /forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul

Author: thorsten
Date: Wed May  2 17:34:22 2007
New Revision: 534667

URL: http://svn.apache.org/viewvc?view=rev&rev=534667
Log:
Adding link for the url properties and using getLocalWebServerUrl() instead of hardcoding to a host

Modified:
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul?view=diff&rev=534667&r1=534666&r2=534667
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul Wed May  2 17:34:22 2007
@@ -84,6 +84,7 @@
       <toolbarseparator/>
       <toolbarbutton class="forrestbar" label="dispatcher-dev " id="forrestbar-dispatcher-dev" hidden="false" type="menu">
         <menupopup>
+          <menuitem label="Properties" onclick="viewXML('.props');" />
           <menuitem label="Intermediate format" onclick="viewXML('.source.rewritten.xml');" />
           <menuitem label="Body" onclick="viewXML('.body.xml');" />
           <menuitem label="Table of Content" onclick="viewXML('.toc.xml');" />
@@ -95,8 +96,8 @@
           <menuseparator/>
           <menuitem label="structurer" onclick="setDispatcherCall(true);viewXML('resolve.structurer.');setDispatcherCall(false);"/>
           <menuseparator/>
-          <menuitem label="ls.contracts" onclick="navigate('http://localhost:8888/ls.contracts.html');" />
-          <menuitem label="ls.contracts.project" onclick="navigate('http://localhost:8888/ls.contracts.project.html');" />
+          <menuitem label="ls.contracts" onclick="navigate(getLocalWebServerUrl()+'ls.contracts.html');" />
+          <menuitem label="ls.contracts.project" onclick="navigate(getLocalWebServerUrl()+'ls.contracts.project.html');" />
         </menupopup>
       </toolbarbutton>
         <!--