gitlive.js
authorAlan Knowles <alan@wideboy.(none)>
Wed, 28 Apr 2010 14:59:53 +0000 (22:59 +0800)
committerAlan Knowles <alan@wideboy.(none)>
Wed, 28 Apr 2010 14:59:53 +0000 (22:59 +0800)
gitlive.js

index e7a64de..098dbc1 100644 (file)
@@ -102,6 +102,17 @@ var monitor = new Monitor({
                 
             });
 
+            notification.set_timeout(500);
+            notification.show();   
+        }
+        if (success.length) {
+        
+            var notification = new Notify.Notification({
+                summary: "Git Live ERROR!!",
+                body : failure.join("\n")
+                
+            });
+
             notification.set_timeout(500);
             notification.show();   
         }