Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 16674 was 13860, checked in by jlodewyc, 9 years ago

#2582 RC2 migration fixed. OKB query implemented. Preparing for OKB manager

File size: 1.4 KB
RevLine 
[13860]1/* HeuristicLab
2 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
3 *
4 * This file is part of HeuristicLab.
5 *
6 * HeuristicLab is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * HeuristicLab is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
18 */
[13754]19
[13860]20
21var hubber = $.connection.userInfoHub;
22
[13754]23$(function () {
[13805]24    //$.connection.hub.logging = true;
[13754]25    var v = document.getElementById("userId").innerHTML;
26    console.log(v);
27    $.connection.hub.qs = { 'userid': v };
28    $.connection.hub.start();
29    hubber.client.showNewPass = function (pass) {
[13841]30        $("#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>");
[13754]31                                     
32    };
33});
34function resetPass(uid) {
35    hubber.server.resetPassword(uid);
36
37}
Note: See TracBrowser for help on using the repository browser.