summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-02 15:28:07 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-02 15:28:07 +0300
commitc8649c5d6099b396fe6cc01b322de95224830916 (patch)
tree9d04f2254831b344538a72f087d4f8bcf537f0e3 /app/assets
parent92f04733540694ccfddce353cb510e5f1c36f798 (diff)
downloadgitlab-ce-c8649c5d6099b396fe6cc01b322de95224830916.tar.gz
Fix issue with undefined dispather page
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/dispatcher.js.coffee3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js.coffee b/app/assets/javascripts/dispatcher.js.coffee
index ba2e84a0a4e..6e2d1592e32 100644
--- a/app/assets/javascripts/dispatcher.js.coffee
+++ b/app/assets/javascripts/dispatcher.js.coffee
@@ -12,6 +12,9 @@ class Dispatcher
console.log(page)
+ unless page
+ return false
+
path = page.split(':')
switch page