Skip to content

Commit

Permalink
Fix delete operation, remove unused route to client form
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Dec 12, 2017
1 parent 87777cf commit 7bc9261
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions client/galaxy/scripts/apps/analysis.js
Expand Up @@ -47,7 +47,6 @@ window.app = function app(options, bootstrapped) {
"(/)tours(/)(:tour_id)": "show_tours",
"(/)user(/)": "show_user",
"(/)user(/)(:form_id)": "show_user_form",
"(/)openids(/)create": "show_openids_create",
"(/)openids(/)list": "show_openids",
"(/)pages(/)create(/)": "show_pages_create",
"(/)pages(/)edit(/)": "show_pages_edit",
Expand Down Expand Up @@ -168,15 +167,6 @@ window.app = function app(options, bootstrapped) {
);
},

show_openids_create: function() {
this.page.display(
new FormWrapper.View({
url: `user/create_openid`,
redirect: "openids/list"
})
);
},

show_datasets: function() {
this.page.display(
new GridView({
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/controllers/user.py
Expand Up @@ -404,7 +404,7 @@ def openids_list(self, trans, **kwd):
message = 'You must select at least one OpenID to disassociate from your Galaxy account.'
status = 'error'
else:
ids = util.listify(params.id)
user_openids = []
for id in ids:
id = trans.security.decode_id(id)
user_openid = trans.sa_session.query(trans.app.model.UserOpenID).get(int(id))
Expand Down
4 changes: 2 additions & 2 deletions static/scripts/bundled/analysis.bundled.js

Large diffs are not rendered by default.

0 comments on commit 7bc9261

Please sign in to comment.