From 3b1c830556fada8a93816fd9e8e574f1c3dc673a Mon Sep 17 00:00:00 2001 From: "mikep%oeone.com" Date: Wed, 18 Sep 2002 14:56:17 +0000 Subject: [PATCH] Disable text when you edit an event. git-svn-id: svn://10.0.0.236/trunk@129912 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/calendar/resources/content/calendarEventDialog.js | 3 +++ mozilla/calendar/resources/content/calendarEventDialog.xul | 2 +- mozilla/calendar/resources/content/eventDialog.js | 3 +++ mozilla/calendar/resources/content/eventDialog.xul | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mozilla/calendar/resources/content/calendarEventDialog.js b/mozilla/calendar/resources/content/calendarEventDialog.js index a80c15ae80b..9603d7f07a3 100644 --- a/mozilla/calendar/resources/content/calendarEventDialog.js +++ b/mozilla/calendar/resources/content/calendarEventDialog.js @@ -292,7 +292,10 @@ function loadCalendarEventDialog() } setFieldValue( "server-field", gEvent.parent.server ); + //for now you can't edit which file the event is in. setFieldValue( "server-field", "true", "disabled" ); + + setFieldValue( "server-field-label", "true", "disabled" ); } //the next line seems to crash Mozilla diff --git a/mozilla/calendar/resources/content/calendarEventDialog.xul b/mozilla/calendar/resources/content/calendarEventDialog.xul index fc11f851d27..f6a7832fc2f 100644 --- a/mozilla/calendar/resources/content/calendarEventDialog.xul +++ b/mozilla/calendar/resources/content/calendarEventDialog.xul @@ -302,7 +302,7 @@ - diff --git a/mozilla/calendar/resources/content/eventDialog.js b/mozilla/calendar/resources/content/eventDialog.js index a80c15ae80b..9603d7f07a3 100644 --- a/mozilla/calendar/resources/content/eventDialog.js +++ b/mozilla/calendar/resources/content/eventDialog.js @@ -292,7 +292,10 @@ function loadCalendarEventDialog() } setFieldValue( "server-field", gEvent.parent.server ); + //for now you can't edit which file the event is in. setFieldValue( "server-field", "true", "disabled" ); + + setFieldValue( "server-field-label", "true", "disabled" ); } //the next line seems to crash Mozilla diff --git a/mozilla/calendar/resources/content/eventDialog.xul b/mozilla/calendar/resources/content/eventDialog.xul index fc11f851d27..f6a7832fc2f 100644 --- a/mozilla/calendar/resources/content/eventDialog.xul +++ b/mozilla/calendar/resources/content/eventDialog.xul @@ -302,7 +302,7 @@ -