twingle/twingle/content/toolbar toolbar.js,NONE,1.1 toolbaroverlay.xul,1.2,1.3
[email protected] Mon, 10 Mar 2003 03:45:47 -0700 (MST)
| Newsgroups | gmane.comp.cms.oscom.twingle.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/root/twingle/twingle/content/toolbar
In directory alpha.oscom.org:/tmp/cvs-serv24078/toolbar
Modified Files:
toolbaroverlay.xul
Added Files:
toolbar.js
Log Message:
We now have a twingle directory in profile dir that contains a localsite subdir, where you can create content by clicking on the New button in the toolbar
--- NEW FILE: toolbar.js ---
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
function openDialogNewContent (resourcetype)
{
var d = "chrome://twingle/content/workspace/newarticle.xul";
window.openDialog(d,"newcontent","chrome",sitesds);
return;
}
Index: toolbaroverlay.xul
===================================================================
RCS file: /cvs/root/twingle/twingle/content/toolbar/toolbaroverlay.xul,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** toolbaroverlay.xul 8 Mar 2003 15:24:36 -0000 1.2
--- toolbaroverlay.xul 10 Mar 2003 10:45:45 -0000 1.3
***************
*** 5,14 ****
! <script>
! </script>
! <toolbar id="twingle-toolbar">
! <button label="New" oncommand="initNavigator();"/>
<spring flex="100%" />
<image src="" />
--- 5,13 ----
! <script src="toolbar.js"/>
! <toolbar id="twingle-toolbar">
! <button label="New" oncommand="openDialogNewContent();"/>
<spring flex="100%" />
<image src="" />