changed the title of the title from Internet Appliance Application - Calendar Event to now be the actual title of the dialog (either New Event or Edit Event -- or calendar event by default). Removed the top two lines of the dialog, the first which had the title preiously, and the second was a tips line.

git-svn-id: svn://10.0.0.236/trunk@113787 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
colinp%oeone.com
2002-02-06 14:16:07 +00:00
parent 8a3ca9ae51
commit 4f933a9713
4 changed files with 4 additions and 70 deletions

View File

@@ -134,22 +134,8 @@ function loadCalendarEventDialog()
}
var titleString = titleDataItem.getAttribute( "value" );
setFieldValue( "standard-dialog-title-text", titleString );
document.getElementById("calendar-new-eventwindow").setAttribute("title", titleString);
// show proper tip
if( "new" == args.mode )
{
setFieldValue( "tip-new", false, "collapsed" );
setFieldValue( "tip-edit", true, "collapsed" );
}
else
{
setFieldValue( "tip-new", true, "collapsed" );
setFieldValue( "tip-edit", false, "collapsed" );
}
//create the category drop down
//if( !gCategoryManager )
// Categories = opener.gCategoryManager.getAllCategories();

View File

@@ -57,7 +57,7 @@
<window
id="calendar-new-eventwindow"
title="Internet Appliance Dialog - Calendar Event"
title="Calendar Event"
orient="vertical"
onload="loadCalendarEventDialog()"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
@@ -96,25 +96,6 @@
<vbox id="dialog-box" flex="1">
<!-- standard-dialog-title: from dialogOverlay.xul -->
<box id="standard-dialog-title">
<image id="standard-dialog-title-icon" insertbefore="standard-dialog-title-text-box"/>
<spacer flex="1" insertafter="standard-dialog-title-icon"/>
<box id="standard-dialog-title-text-box">
<label id="standard-dialog-title-text"/>
</box>
<spacer id="second-title-spring" flex="1" insertafter="standard-dialog-title-text-box"/>
</box>
<!-- standard-dialog-tips: from dialogOverlay.xul Proper tip is shown in on load code-->
<box id="standard-dialog-tips">
<description id="tip-new" collapsed ="true" >&event.tip.new;</description>
<description id="tip-edit" collapsed ="false">&event.tip.edit;</description>
</box>
<!-- standard-dialog-content: from dialogOverlay.xul -->
<vbox id="standard-dialog-content" flex="1">

View File

@@ -134,22 +134,8 @@ function loadCalendarEventDialog()
}
var titleString = titleDataItem.getAttribute( "value" );
setFieldValue( "standard-dialog-title-text", titleString );
document.getElementById("calendar-new-eventwindow").setAttribute("title", titleString);
// show proper tip
if( "new" == args.mode )
{
setFieldValue( "tip-new", false, "collapsed" );
setFieldValue( "tip-edit", true, "collapsed" );
}
else
{
setFieldValue( "tip-new", true, "collapsed" );
setFieldValue( "tip-edit", false, "collapsed" );
}
//create the category drop down
//if( !gCategoryManager )
// Categories = opener.gCategoryManager.getAllCategories();

View File

@@ -57,7 +57,7 @@
<window
id="calendar-new-eventwindow"
title="Internet Appliance Dialog - Calendar Event"
title="Calendar Event"
orient="vertical"
onload="loadCalendarEventDialog()"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
@@ -96,25 +96,6 @@
<vbox id="dialog-box" flex="1">
<!-- standard-dialog-title: from dialogOverlay.xul -->
<box id="standard-dialog-title">
<image id="standard-dialog-title-icon" insertbefore="standard-dialog-title-text-box"/>
<spacer flex="1" insertafter="standard-dialog-title-icon"/>
<box id="standard-dialog-title-text-box">
<label id="standard-dialog-title-text"/>
</box>
<spacer id="second-title-spring" flex="1" insertafter="standard-dialog-title-text-box"/>
</box>
<!-- standard-dialog-tips: from dialogOverlay.xul Proper tip is shown in on load code-->
<box id="standard-dialog-tips">
<description id="tip-new" collapsed ="true" >&event.tip.new;</description>
<description id="tip-edit" collapsed ="false">&event.tip.edit;</description>
</box>
<!-- standard-dialog-content: from dialogOverlay.xul -->
<vbox id="standard-dialog-content" flex="1">