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; - -