1
0
Fork 0

finally fixed links in DB-menu

This commit is contained in:
Guido Schwab 2014-02-21 15:52:29 +01:00
parent cfb5ca5953
commit 7e08be3f33
1 changed files with 1 additions and 2 deletions

View File

@ -18,8 +18,7 @@
},
changeDatabase: function(e) {
// var changeTo = $(".dbSelectionLink > option:selected").attr("id");
var changeTo = $(".dbSelectionLink").attr("id");
var changeTo = $(e.currentTarget).closest(".dbSelectionLink.tab").attr("id");
var url = this.collection.createDatabaseURL(changeTo);
window.location.replace(url);
},