Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 13768 was 13754, checked in by jlodewyc, 9 years ago

#2582 User management done, start resource calendar

File size: 553 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 password: " + pass + "</label>");
11                                     
12    };
13});
14function resetPass(uid) {
15    hubber.server.resetPassword(uid);
16
17}
Note: See TracBrowser for help on using the repository browser.