Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Scripts/Hubs/UserInfoHubber.js @ 13805

Last change on this file since 13805 was 13805, checked in by jlodewyc, 8 years ago

#2582 Bugfixing, email setup password and code commenting

File size: 615 bytes
Line 
1var hubber = $.connection.userInfoHub;
2
3$(function () {
4    //$.connection.hub.logging = true;
5    var v = document.getElementById("userId").innerHTML;
6    console.log(v);
7    $.connection.hub.qs = { 'userid': v };
8    $.connection.hub.start();
9    hubber.client.showNewPass = function (pass) {
10        $("#inppassreset").html("<label class=' control-label' style='text-align:left'>New pass: " + pass + ". An email has been sent to the user containing the new password</label>");
11                                     
12    };
13});
14function resetPass(uid) {
15    hubber.server.resetPassword(uid);
16
17}
Note: See TracBrowser for help on using the repository browser.