Browse Source

b=566381, r=mfinkle, shutdownQuery() doesn't cancel shutdown when quit is selected in dock menu

matthew.gertner@gmail.com 14 years ago
parent
commit
56ad20fca6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      chrome/content/webrunner.js

+ 1 - 1
chrome/content/webrunner.js

@@ -1142,7 +1142,7 @@ var WebRunner = {
   observe : function(aSubject, aTopic, aData) {
     if (aTopic == "quit-application-requested") {
       if (!this.shutdownQuery()) {
-        aSubject.data = true;
+        aSubject.QueryInterface(Ci.nsISupportsPRBool).data = true;
         return;
       }