From 0b6bd38abf4f0a00ec65a4f55d4d6e73f17aff93 Mon Sep 17 00:00:00 2001 From: "mozilla%kewis.ch" Date: Sat, 9 Aug 2008 01:09:24 +0000 Subject: [PATCH] Fix bug 445995 - Event dialog also contains elements from task dialog (regression). r=ssitter git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@253483 18797224-902f-48f8-a5cc-f745e15eee43 --- .../calendar/prototypes/wcap/sun-calendar-event-dialog.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js b/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js index 255cbb2c7f9..436a50337aa 100644 --- a/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js +++ b/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js @@ -2321,17 +2321,10 @@ function updateAttachment() { var documentRow = document.getElementById("event-grid-attachment-row"); var attSeparator = document.getElementById("event-grid-attachment-separator"); - var documentButton = document.getElementById("button-url"); - var attOption = document.getElementById("options-attachments-menuitem"); if (!hasAttachments) { - documentButton.setAttribute("disabled", "true"); - attOption.setAttribute("disabled", "true"); documentRow.setAttribute("collapsed", "true"); attSeparator.setAttribute("collapsed", "true"); } else { - documentButton.removeAttribute("disabled"); - attOption.removeAttribute("disabled"); - var documentLink = document.getElementById("attachment-link"); setElementValue(documentRow, documentLink.getRowCount() < 1 && "true", "collapsed"); setElementValue(attSeparator, documentLink.getRowCount() < 1 && "true", "collapsed");