--- a/Allura/allura/app.py
+++ b/Allura/allura/app.py
@@ -225,6 +225,13 @@
         :return: a list of :class:`SitemapEntries <allura.app.SitemapEntry>`
         """
         return []
+
+    def sidebar_menu_js(self):
+        """
+        Apps can override this to provide Javascript needed by the sidebar_menu.
+        :return: a string of Javascript code
+        """
+        return ""
 
     def admin_menu(self, force_options=False):
         """