mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Open Inventory - Double action fix [SCI-7506] (#5200)
Co-authored-by: Giga Chubinidze <gchubinidze@unisens.ge>
This commit is contained in:
parent
540de67956
commit
e9cacc3db1
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ DataTableCheckboxes.prototype.clearSelection = function() {
|
|||
DataTableCheckboxes.prototype.initCheckboxes = function() {
|
||||
this.tableWrapper.on('click', '.table tbody tr', (e) => {
|
||||
var checkbox = $(e.currentTarget).find(this.config.checkboxSelector);
|
||||
if (checkbox.attr('disabled')) return;
|
||||
if (checkbox.attr('disabled') || $(e.target).is('a')) return;
|
||||
checkbox.prop('checked', !checkbox.prop('checked'));
|
||||
this.selectRow(e.currentTarget);
|
||||
}).on('click', this.config.checkboxSelector, (e) => {
|
||||
|
|
Loading…
Reference in a new issue