[Zope-CVS] CVS: Packages/Moztop/moztop/content/Menu - ToolBar.js:1.1 ToolBarOverlay.xul:1.3
Paul Everitt
paul@zope.com
Tue, 14 Jan 2003 12:09:35 -0500
Update of /cvs-repository/Packages/Moztop/moztop/content/Menu
In directory cvs.zope.org:/tmp/cvs-serv2695/Menu
Modified Files:
ToolBarOverlay.xul
Added Files:
ToolBar.js
Log Message:
Since RDF won't ask for login, put in an XmlHttpRequest ping
first. Also, put button on toolbar to start "add folder".
=== Added File Packages/Moztop/moztop/content/Menu/ToolBar.js ===
function addFolder () {
alert('ouch!');
}
=== Packages/Moztop/moztop/content/Menu/ToolBarOverlay.xul 1.2 => 1.3 ===
--- Packages/Moztop/moztop/content/Menu/ToolBarOverlay.xul:1.2 Mon Jan 13 17:33:42 2003
+++ Packages/Moztop/moztop/content/Menu/ToolBarOverlay.xul Tue Jan 14 12:09:02 2003
@@ -2,6 +2,7 @@
<overlay id="ToolBarOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <script type="application/x-javascript" src="chrome://moztop/content/Menu/ToolBar.js"/>
<toolbar id="moztop-toolbar"
style="background:
@@ -15,7 +16,7 @@
<button onclick="return addTask('add', 'Add Item', 'in progress');"
label="Add Task" />
<button onclick="deleteSelectedTask();" label="Delete Task" />
- <button onclick="reloadContentData();" label="Reload content" />
+ <button onclick="addFolder(); return false;" label="Add folder" />
<spring flex="100%" />
</toolbar>