|
@@ -301,6 +301,7 @@ let rptArchiveObj = {
|
|
|
|
|
|
_countChkedRptTpl: function () {
|
|
|
let me = rptArchiveObj;
|
|
|
+ $('#delete_archive_btn').attr('disabled', '');
|
|
|
if (me.treeObj) {
|
|
|
me.checkedRptTplNodes = [];
|
|
|
let chkNodes = me.treeObj.getCheckedNodes(true), cnt = 0, hasCurrentNode = false;
|
|
@@ -322,6 +323,9 @@ let rptArchiveObj = {
|
|
|
$("#export_div").find("span").each(function(cIdx,elementSpan){
|
|
|
elementSpan.innerText = cnt;
|
|
|
});
|
|
|
+ if (cnt) {
|
|
|
+ $('#delete_archive_btn').removeAttr('disabled');
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
|