mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
remove dead code, the object is always nonempty
This commit is contained in:
@@ -17,10 +17,8 @@ var Router = Backbone.Router.extend({
|
||||
data.__identifer = Math.random()
|
||||
.toString(36)
|
||||
.substr(2);
|
||||
if (!$.isEmptyObject(data)) {
|
||||
url += url.indexOf("?") == -1 ? "?" : "&";
|
||||
url += $.param(data, true);
|
||||
}
|
||||
url += url.indexOf("?") == -1 ? "?" : "&";
|
||||
url += $.param(data, true);
|
||||
Galaxy.params = data;
|
||||
this.navigate(url, { trigger: true });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user