[bugzilla-gnome-org-extensions] Return to chooseAttachment screen after publishing the review



commit b21f07ddaec172d17ab0273d5eec1699eafb9186
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Sun Sep 13 00:14:34 2009 -0400

    Return to chooseAttachment screen after publishing the review
    
    Instead of showing an alert, return to the chooseAttachment screeen
    (which will now say "published" for the just published review.)

 js/splinter.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/splinter.js b/js/splinter.js
index be38a2f..db1fbee 100644
--- a/js/splinter.js
+++ b/js/splinter.js
@@ -99,9 +99,9 @@ function publishReview() {
     }
 
     function success() {
-        alert("Succesfully published the review.");
         if (reviewStorage)
             reviewStorage.draftPublished(theBug, theAttachment);
+        document.location = newPageUrl(theBug.id);
     }
 
     addComment(theBug, comment,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]