Author: lucaa
Date: 2008-02-18 12:02:27 +0100 (Mon, 18 Feb 2008)
New Revision: 7790

Modified:
   
xwiki-products/xwiki-watch/trunk/gwt/src/main/java/com/xpn/xwiki/watch/client/Watch.java
Log:
Fixed minor bug causing javascript error.


Modified: 
xwiki-products/xwiki-watch/trunk/gwt/src/main/java/com/xpn/xwiki/watch/client/Watch.java
===================================================================
--- 
xwiki-products/xwiki-watch/trunk/gwt/src/main/java/com/xpn/xwiki/watch/client/Watch.java
    2008-02-18 10:20:14 UTC (rev 7789)
+++ 
xwiki-products/xwiki-watch/trunk/gwt/src/main/java/com/xpn/xwiki/watch/client/Watch.java
    2008-02-18 11:02:27 UTC (rev 7790)
@@ -476,7 +476,9 @@
             // Launch the add feed wizard
             ConfigWizard addfeedwizard = new ConfigWizard(this, new 
AsyncCallback() {
                 public void onFailure(Throwable throwable) {
+                    if (throwable != null) {
                         Window.alert("failed: " + throwable.getMessage());
+                    }
                 }
 
                 public void onSuccess(Object object) {

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to