Bug 658060 - The Preferences Popup Windows Sound play button is not enabled r=mynromyr a=philip.chee CLOSED TREE
authorIan Neal <iann_cvs@blueyonder.co.uk>
Wed, 08 Jun 2011 11:27:40 +0100
changeset 7805 1bde52433d6c0414f5e85d91f66b36fba898db2c
parent 7804 5fde5647d1dcd99c41139fbd8e625a1cb8526cbf
child 7806 e82715ab3680667e95edc8790c355393356ce499
push id11
push useriann_cvs@blueyonder.co.uk
push dateWed, 08 Jun 2011 10:26:39 +0000
treeherdercomm-beta@1bde52433d6c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmynromyr, philip
bugs658060
Bug 658060 - The Preferences Popup Windows Sound play button is not enabled r=mynromyr a=philip.chee CLOSED TREE
suite/common/pref/pref-popups.js
--- a/suite/common/pref/pref-popups.js
+++ b/suite/common/pref/pref-popups.js
@@ -137,17 +137,17 @@ function EnableSoundRadio(aSoundChecked)
   var pref = document.getElementById(element.getAttribute("preference"));
   EnableSoundUrl(aSoundChecked && (pref.value == kCustomSound));
 }
 
 function EnableSoundUrl(aCustomSelected)
 {
   EnableElementById("playSoundUrl", aCustomSelected, false);
   EnableElement(gSelectSound, aCustomSelected, false);
-  EnableElementById("previewSound", aCustomSelected, false);
+  EnableElementById("playSoundButton", aCustomSelected, false);
 }
 
 function ReadSoundLocation(aElement)
 {
   aElement.value = gSoundUrlPref.value;
   if (aElement.value)
     aElement.file = gFileHandler.getFileFromURLSpec(aElement.value);
 }