Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/10/16 16:55:18 (9 years ago)
Author:
jlodewyc
Message:

#2582 More parameter datatypes, splitting fileopening service, approving users, reopen last file, change name tasks and repetitions

Location:
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Scripts/Hubs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Scripts/Hubs/ProgressHubber.js

    r13834 r13841  
    2222        }
    2323    };
     24    hubber.client.processName = function (name, random) {
     25
     26            $("#nameCarrier" + random).html(name);
     27       
     28    };
     29    hubber.client.processRepit = function (name, repit) {
     30        if (name === "failed") {
     31            window.alert("Something went wrong while changing the repititions, please try again")
     32        }
     33        else
     34            window.alert("Repititions for " + name + " has been changed to " + repit + ". These changes are not shown in the interface but happen directly after uploading or saving.");
     35    }
    2436    hubber.client.dataNotSupported = function (name) {
    2537        window.alert("Parameter " + name + " could not be changed for it is a fixed parameter. All changes done in this view are not saved to Hive.");
     
    5668//Changes a tasks priority
    5769function changePriority(arr, prior, idprior) {
    58     console.log(arr + " to priority " + prior);
    5970    hubber.server.changePriority(arr, prior);
    6071    resetPrior(idprior);
     
    8394    document.getElementById("prior" + id).className = "btn dropdown-toggle ";
    8495}
    85 
    86 
     96//changes name of a task
     97function changeName(arr, name, idname) {
     98    hubber.server.changeName(arr, name, idname);
     99}
     100function changeRepit(arr, repit) {
     101    hubber.server.changeRepit(arr, repit);
     102}
    87103function paraEdit(arr, problem, name, type, value) {
    88104    hubber.server.paraEdit(arr, problem, name, type, value);
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Scripts/Hubs/UserInfoHubber.js

    r13805 r13841  
    88    $.connection.hub.start();
    99    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>");
     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>");
    1111                                     
    1212    };
Note: See TracChangeset for help on using the changeset viewer.