Merge remote-tracking branch 'upstream/master' into dilatometer
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / static / mctx.gui.js
index 1007510..13ca08e 100644 (file)
@@ -138,6 +138,10 @@ function runBeforeLoad(isLoginPage) {
 
           $("#logout").click(function () {
             $("#logout").logout();
+          });\r
+          \r
+          $("#change-password").click(function () {\r
+            window.open("users/user_change_details.php");\r
           });
           
           //Enable the error log, if present
@@ -186,6 +190,7 @@ $.fn.login = function () {
 
     return $.ajax({
         url : mctx.api + "bind",
+        type : "POST",
         data : {user: username, pass : password}
     }).done(function (data) {
         if (data.status < 0) {

UCC git Repository :: git.ucc.asn.au