r9505 - apps/gobi/trunk/code/Global

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <[email protected]>
Author: hannes
Date: 2009-02-06 10:27:19 +0100 (Fri, 06 Feb 2009)
New Revision: 9505

Modified:
   apps/gobi/trunk/code/Global/WikiMarkup.js
Log:
Adding one really important break statement.

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

Modified: apps/gobi/trunk/code/Global/WikiMarkup.js
===================================================================
--- apps/gobi/trunk/code/Global/WikiMarkup.js	2009-02-05 17:38:28 UTC (rev 9504)
+++ apps/gobi/trunk/code/Global/WikiMarkup.js	2009-02-06 09:27:19 UTC (rev 9505)
@@ -134,6 +134,7 @@
                     var page;
                     for each (var wiki in wikis) {
                         page = wiki.getWikiPage(link.target);
+                        if (page) break;
                     }
                     if (!page) {
                         var href = mainWiki.href("create") + "?name=" + link.target;
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.