Last change
on this file since 13827 was
13805,
checked in by jlodewyc, 9 years ago
|
#2582 Bugfixing, email setup password and code commenting
|
File size:
615 bytes
|
Rev | Line | |
---|
[13754] | 1 | var hubber = $.connection.userInfoHub;
|
---|
| 2 |
|
---|
| 3 | $(function () {
|
---|
[13805] | 4 | //$.connection.hub.logging = true;
|
---|
[13754] | 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) {
|
---|
[13805] | 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>");
|
---|
[13754] | 11 |
|
---|
| 12 | };
|
---|
| 13 | });
|
---|
| 14 | function resetPass(uid) {
|
---|
| 15 | hubber.server.resetPassword(uid);
|
---|
| 16 |
|
---|
| 17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.