[galaxy-commits] galaxy-dist commit 3a6391d4f469: Fix bug so that page editor's 'insert link to page' option works.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Jul 16 10:06:31 EDT 2010


# HG changeset patch -- Bitbucket.org
# Project galaxy-dist
# URL http://bitbucket.org/galaxy/galaxy-dist/overview
# User jeremy goecks <jeremy.goecks at emory.edu>
# Date 1278956233 14400
# Node ID 3a6391d4f46980fd8b86c9f9b15fd5684357552b
# Parent  e683c6995fb5d032660d1c28cff2e1bc578d1298
Fix bug so that page editor's 'insert link to page' option works.

--- a/templates/page/editor.mako
+++ b/templates/page/editor.mako
@@ -104,12 +104,13 @@
                 item_plural = "Pages";
                 item_controller = "page";
                 item_class = "Page";
+                break;
             case( Galaxy.ITEM_VISUALIZATION ):
                 item_singular = "Visualization";
                 item_plural = "Visualizations";
                 item_controller = "visualization";
                 item_class = "Visualization";
-            break;
+                break;
         }
         
         // Build ajax URL that lists items for selection.


More information about the galaxy-commits mailing list