Commit b31d9ccd authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Fix vispaUser in vispa.js.

parent b3bdbd0b
......@@ -264,7 +264,7 @@ define([
this.workspaces.on("connectedWorkspace", toggleIcons);
this.workspaces.on("disconnectedWorkspace", toggleIcons);
// apply vispaUser.changeWorkspaces
// apply user.changeWorkspaces
if (!this.args.user.addWorkspaces)
$("#ws-menu-entry-add-ws").remove();
if (!this.args.user.alterWorkspaces)
......@@ -323,7 +323,7 @@ define([
});
$(".vispa-nav #reset-password").click(function(event) {
self.POST(vispa.url.dynamic("/ajax/forgotpassword"), {username: vispaUser.name})
self.POST(vispa.url.dynamic("/ajax/forgotpassword"), {username: self.args.user.name})
.done(function() {
var header = "<i class='glyphicon glyphicon-envelope'></i> Success";
vispa.messenger.alert("Further instructions have been sent to your mail address!", {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment