* Fix the app tab highlight issue.
This commit is contained in:
@@ -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'});
|
||||
};
|
||||
|
||||
@@ -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')
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user