* Fix the app tab highlight issue.

This commit is contained in:
dingguodong
2023-07-26 14:48:38 +08:00
parent 53b846ff09
commit 2a7d5c479a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -13,5 +13,5 @@ window.onClickBatchEdit = function(event)
formData.append('productIDList[]', id);
});
postAndLoadPage($(event.target.closest('button')).data('url'), formData, '', {app: 'product'});
postAndLoadPage($(event.target.closest('button')).data('url'), formData, '', {app: 'program'});
};
+1
View File
@@ -45,6 +45,7 @@ $footToolbar = common::hasPriv('product', 'batchEdit') ?
'text' => $lang->edit,
'btnType' => 'secondary size-sm',
'data-url' => $this->createLink('product', 'batchEdit', "programID={$programID}"),
'data-app' => $this->app->tab,
'onClick' => jsRaw('window.onClickBatchEdit')
)
)