From de54cefcd19d68f3a69872cadc1e1690431369b6 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Thu, 17 Nov 2011 19:06:07 +0100 Subject: [PATCH] use xtype as default url token --- scm-webapp/src/main/webapp/resources/js/sonia.history.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scm-webapp/src/main/webapp/resources/js/sonia.history.js b/scm-webapp/src/main/webapp/resources/js/sonia.history.js index 2225416692..a7b7dc1cd6 100644 --- a/scm-webapp/src/main/webapp/resources/js/sonia.history.js +++ b/scm-webapp/src/main/webapp/resources/js/sonia.history.js @@ -123,8 +123,11 @@ Sonia.History = { if (token){ this.add(token); } - } else if (debug) { - console.debug('could not find xtype ' + tab.xtype); + } else { + if (debug){ + console.debug('could not find xtype ' + tab.xtype + ' set xtype as id'); + } + this.add(tab.xtype); } } },