From 4f933a97134d4acfdc59f6440319b81ba632d813 Mon Sep 17 00:00:00 2001 From: "colinp%oeone.com" Date: Wed, 6 Feb 2002 14:16:07 +0000 Subject: [PATCH] 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 --- .../resources/content/calendarEventDialog.js | 16 +------------- .../resources/content/calendarEventDialog.xul | 21 +------------------ .../calendar/resources/content/eventDialog.js | 16 +------------- .../resources/content/eventDialog.xul | 21 +------------------ 4 files changed, 4 insertions(+), 70 deletions(-) diff --git a/mozilla/calendar/resources/content/calendarEventDialog.js b/mozilla/calendar/resources/content/calendarEventDialog.js index 10e0152b368..66c3c4a4047 100644 --- a/mozilla/calendar/resources/content/calendarEventDialog.js +++ b/mozilla/calendar/resources/content/calendarEventDialog.js @@ -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(); diff --git a/mozilla/calendar/resources/content/calendarEventDialog.xul b/mozilla/calendar/resources/content/calendarEventDialog.xul index 60d631a8d86..5dd75c8d4e9 100644 --- a/mozilla/calendar/resources/content/calendarEventDialog.xul +++ b/mozilla/calendar/resources/content/calendarEventDialog.xul @@ -57,7 +57,7 @@ - - - - - - - - - - - - - - - &event.tip.new; - &event.tip.edit; - - diff --git a/mozilla/calendar/resources/content/eventDialog.js b/mozilla/calendar/resources/content/eventDialog.js index 10e0152b368..66c3c4a4047 100644 --- a/mozilla/calendar/resources/content/eventDialog.js +++ b/mozilla/calendar/resources/content/eventDialog.js @@ -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(); diff --git a/mozilla/calendar/resources/content/eventDialog.xul b/mozilla/calendar/resources/content/eventDialog.xul index 60d631a8d86..5dd75c8d4e9 100644 --- a/mozilla/calendar/resources/content/eventDialog.xul +++ b/mozilla/calendar/resources/content/eventDialog.xul @@ -57,7 +57,7 @@ - - - - - - - - - - - - - - - &event.tip.new; - &event.tip.edit; - -