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); } } },