r9552 - helma-ng/trunk/apps/storage

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090320132821.8DAA23D0D6@mia>
Author: hannes
Date: 2009-03-20 14:28:21 +0100 (Fri, 20 Mar 2009)
New Revision: 9552

Modified:
   helma-ng/trunk/apps/storage/main.js
Log:
Don't use res.redirect() since it's currently broken due to major rebuilding.

Details at http://dev.helma.org/trac/helma/changeset/9552

Modified: helma-ng/trunk/apps/storage/main.js
===================================================================
--- helma-ng/trunk/apps/storage/main.js	2009-03-20 13:28:20 UTC (rev 9551)
+++ helma-ng/trunk/apps/storage/main.js	2009-03-20 13:28:21 UTC (rev 9552)
@@ -31,14 +31,16 @@
     var book = new model.Book({author: author, title: req.params.title});
     // author is saved transitively
     book.save();
-    res.redirect('/');
+    // FIXME redirect currently not working
+    // res.redirect('/');
 }
 
 function removeBook(req, res) {
     var book = model.Book.get(req.params.remove);
     // author is removed through cascading delete
     book.remove();
-    res.redirect('/');
+    // FIXME redirect currently not working
+    // res.redirect('/');
 }
 
 function getDeleteLink(book) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.