mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-05-08 21:41:23 +00:00
objects may not be marked for batch operation, take all if none is
marked
This commit is contained in:
parent
51fb600843
commit
a7efa87831
|
|
@ -87,8 +87,10 @@ $(document).ready( function() {
|
|||
if(this.checked)
|
||||
values[this.name] = 1;
|
||||
});
|
||||
url += '&'+$.param(values);
|
||||
if($('#batchcategory').val() && Object.keys(values).length > 0) {
|
||||
if(Object.keys(values).length > 0) {
|
||||
url += '&'+$.param(values);
|
||||
}
|
||||
if($('#batchcategory').val()/* && Object.keys(values).length > 0*/) {
|
||||
SeedDMSBox.redirect(url, {
|
||||
'message': confirmmsg,
|
||||
'cancelLabel': '<?= getMLText("cancel") ?>',
|
||||
|
|
@ -108,8 +110,10 @@ $(document).ready( function() {
|
|||
if(this.checked)
|
||||
values[this.name] = 1;
|
||||
});
|
||||
url += '&'+$.param(values);
|
||||
if($('#newowner').val() && Object.keys(values).length > 0) {
|
||||
if(Object.keys(values).length > 0) {
|
||||
url += '&'+$.param(values);
|
||||
}
|
||||
if($('#newowner').val() /*&& Object.keys(values).length > 0*/) {
|
||||
SeedDMSBox.redirect(url, {
|
||||
'message': confirmmsg,
|
||||
'cancelLabel': '<?= getMLText("cancel") ?>',
|
||||
|
|
@ -130,8 +134,10 @@ console.log('add reviewer '+$('#addreviewer').val());
|
|||
if(this.checked)
|
||||
values[this.name] = 1;
|
||||
});
|
||||
url += '&'+$.param(values);
|
||||
if($('#addreviewer').val() && Object.keys(values).length > 0) {
|
||||
if(Object.keys(values).length > 0) {
|
||||
url += '&'+$.param(values);
|
||||
}
|
||||
if($('#addreviewer').val()/* && Object.keys(values).length > 0*/) {
|
||||
SeedDMSBox.redirect(url, {
|
||||
'message': confirmmsg,
|
||||
'cancelLabel': '<?= getMLText("cancel") ?>',
|
||||
|
|
@ -152,8 +158,10 @@ console.log('add approver '+$('#addapprover').val());
|
|||
if(this.checked)
|
||||
values[this.name] = 1;
|
||||
});
|
||||
url += '&'+$.param(values);
|
||||
if($('#addapprover').val() && Object.keys(values).length > 0) {
|
||||
if(Object.keys(values).length > 0) {
|
||||
url += '&'+$.param(values);
|
||||
}
|
||||
if($('#addapprover').val()/* && Object.keys(values).length > 0*/) {
|
||||
SeedDMSBox.redirect(url, {
|
||||
'message': confirmmsg,
|
||||
'cancelLabel': '<?= getMLText("cancel") ?>',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user