Skip to content

Commit

Permalink
Fixed issue #CR-1167: update registering new function name
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-han-115 authored and ptelu committed May 29, 2023
1 parent 50c7996 commit ab5bbce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/extensions/admin/grid/CLSGridView.php
Expand Up @@ -63,12 +63,12 @@ protected function lsAfterAjaxUpdate(): void
foreach ($this->lsAfterAjaxUpdate as $jsCode) {
$this->afterAjaxUpdate .= $jsCode;
}
$this->afterAjaxUpdate .= 'action_dropdown();';
$this->afterAjaxUpdate .= 'LS.actionDropdown.create();';
$this->afterAjaxUpdate .= '}';
} else {
// trigger action_dropdown() as a default although no lsAfterAjaxUpdate param passed.
// this method is useful for preventing action dropdown cut off && overlapped in other browsers like firefox
$this->afterAjaxUpdate = 'function(){ action_dropdown(); }';
$this->afterAjaxUpdate = 'function(){ LS.actionDropdown.create(); }';
}
}

Expand Down

0 comments on commit ab5bbce

Please sign in to comment.