diff --git a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js index cf5ee13f..12cdafc9 100644 --- a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js +++ b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js @@ -1413,6 +1413,24 @@ function deleteFile(type) { tempIds.push($(this).attr('data-id')); } }); + var param = { + cmd: 'com.actionsoft.apps.coe.pal.publisher_update_isApproval_status', + repositoryIds: JSON.stringify(tempIds), + wsId : wsId, + sid: sid, + isApproval: 0 + }; + $.ajax({ + url : "./jd", + type : "POST", + dataType : "JSON", + async : true, + data : param, + success : function(r) {}, + error : function(XMLHttpRequest, textStatus, errorThrown) { + $.simpleAlert("", 'error'); + } + }); for (var j = 0; j < tempIds.length; j++) { for (var m = 0; m < changeTemp.length; m++) { if (tempIds[j] == changeTemp[m].changeFileId) { @@ -1460,6 +1478,24 @@ function deleteFile(type) { tempIds.push($(this).attr('data-id')); } }); + var param = { + cmd: 'com.actionsoft.apps.coe.pal.publisher_update_isApproval_status', + repositoryIds: JSON.stringify(tempIds), + wsId : wsId, + sid: sid, + isApproval: 0 + }; + $.ajax({ + url : "./jd", + type : "POST", + dataType : "JSON", + async : true, + data : param, + success : function(r) {}, + error : function(XMLHttpRequest, textStatus, errorThrown) { + $.simpleAlert("", 'error'); + } + }); for (var j = 0; j < tempIds.length; j++) { for (var m = 0; m < stopTemp.length; m++) { if (tempIds[j] == stopTemp[m].stopFileId) {