[Pkg-mozext-commits] [SCM] perspectives-extension branch, master, updated. c08ca0b44666c4a00a6f8de0f9a6aa6721553adc

Dan Wendlandt danwent at gmail.com
Mon Nov 21 01:31:51 UTC 2011


The following commit has been merged in the master branch:
commit c08ca0b44666c4a00a6f8de0f9a6aa6721553adc
Author: Dan Wendlandt <danwent at gmail.com>
Date:   Wed Jul 6 23:47:36 2011 -0700

    Fix bug that prevents the "no replies" banner from showing.

diff --git a/plugin/chrome/content/notify.js b/plugin/chrome/content/notify.js
index 56e55d2..4d01f9e 100644
--- a/plugin/chrome/content/notify.js
+++ b/plugin/chrome/content/notify.js
@@ -29,7 +29,7 @@ var Pers_notify = {
 	TYPE_WHITELIST : 3, 
 	TYPE_FAILED : 4, 
 	TYPE_NEEDS_PERMISSION : 5,  
-	TYPE_NO_REPLY : 6, 
+	TYPE_NO_REPLIES : 6, 
 
 	do_notify : function(ti, type) {
 		if(ti.last_banner_type == type) { 
@@ -47,11 +47,11 @@ var Pers_notify = {
 				this.notifyFailed(ti.browser); break; 
 			case this.TYPE_NEEDS_PERMISSION : 
 				this.notifyNeedsPermission(ti); break; 
-			case this.TYPE_NO_REPLY : 
-				this.notifyNoReply(ti.browser); break; 
+			case this.TYPE_NO_REPLIES : 
+				this.notifyNoReplies(ti.browser); break; 
 			default: 
 				Pers_debug.d_print("error", "Unknown notify type: " + type); 
-		} 
+		}
 	}, 
 
 	// generic notify function used by all other notify functions

-- 
perspectives-extension



More information about the Pkg-mozext-commits mailing list