Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
issue #25
  • Loading branch information
rsoika committed Jul 28, 2017
1 parent a62e864 commit 554e6e2
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions src/main/webapp/js/imixs-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ IMIXS.org.imixs.workflow.adminclient = (function() {
this.sortrevrse=true;
this.sortby_update="$created";
this.sortrevrse_update=true;
this.bulkupdateappendvalue=true;
this.maxresult_deletion=10; // apiVersion 4.0
this.page_deletion=0; // apiVersion 4.0
this.maxresult_update=10; // apiVersion 4.0
Expand Down Expand Up @@ -227,10 +228,14 @@ IMIXS.org.imixs.workflow.adminclient = (function() {
$("#imixs-nav ul li").removeClass('active');
$("#imixs-nav ul li:nth-child(2)").addClass('active');

// update the priorVersionCheckbox
// update the sortorder
if (restServiceController.model.apiVersion=="4.0") {
$('#sortorderreverse').prop('checked', worklistController.model.sortrevrse);
}
// sortorder onchange...
$('#sortorderreverse').change(function() {
worklistController.model.sortrevrse= $(this).prop("checked");
});

worklistController.loadWorklist();
$('#container').imixsLayout();
Expand Down Expand Up @@ -259,10 +264,25 @@ IMIXS.org.imixs.workflow.adminclient = (function() {
$("#imixs-nav ul li").removeClass('active');
$("#imixs-nav ul li:nth-child(3)").addClass('active');

// update the priorVersionCheckbox
// update the sortorderreverse_update
if (restServiceController.model.apiVersion=="4.0") {
$('#sortorderreverse_update').prop('checked', worklistController.model.sortrevrse_update);
}
// sortorderreverse_update onchange...
$('#sortorderreverse_update').change(function() {
worklistController.model.sortrevrse_update= $(this).prop("checked");
});


// update the bulkupdateappendvalue
if (restServiceController.model.apiVersion=="4.0") {
$('#bulkupdateappendvalue').prop('checked', worklistController.model.bulkupdateappendvalue);
}
// bulkupdateappendvalue onchange...
$('#bulkupdateappendvalue').change(function() {
worklistController.model.bulkupdateappendvalue= $(this).prop("checked");
});


$('#container').imixsLayout();
}
Expand Down

0 comments on commit 554e6e2

Please sign in to comment.