Fix select tests dialog. p=ben_h
authorzach@zachlipton.com
Wed, 15 Aug 2007 13:44:08 -0700
changeset 4683 eacf56a59d315a0a1e73d2c280a8ae4a3e58895c
parent 4682 2a91cc4c684c2126cf6612a8dd5f7bfb9b027bc5
child 4684 dd803b0224d3ecc5e5cea859803a9eaa239755d2
push idunknown
push userunknown
push dateunknown
milestone1.9a8pre
Fix select tests dialog. p=ben_h
testing/extensions/community/chrome/content/litmus.js
--- a/testing/extensions/community/chrome/content/litmus.js
+++ b/testing/extensions/community/chrome/content/litmus.js
@@ -101,17 +101,17 @@
             litmus.lastTestGroupSummary = $("qa-testgroup-label").value;
             lastTestcaseIndex = $("testlist").selectedIndex;
         }
         litmus.preDialogueSubgroupObject = litmus.lastSubgroupObject;
         litmus.preDialogTestcaseObject = litmus.lastTestcaseObject;
         litmus.disableAll();
         litmus.dialogActive = true;
         var newWindow = window.openDialog('chrome://qa/content/tabs/selecttests.xul', '_blank', 'chrome,all,dialog=yes',
-                                          litmus.readStateFromPref, litmus.handleDialogCancel, litmus.undisableAll());
+                                          litmus.readStateFromPref, litmus.handleDialogCancel, litmus.undisableAll);
     },
     
     handleDialogCancel : function() {
         if (litmus.lastTestRunSummary == "") return;
         
         // this code is v. similar to readStateFromPref, but without an async call.
         $("qa-testrun-label").value = litmus.lastTestRunSummary;
         $("qa-testgroup-label").value = litmus.lastTestGroupSummary;