Skip to content

Commit

Permalink
fixed hide_time
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshnik committed Sep 2, 2024
1 parent 088ce0b commit 39d9499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/components/extrafields/js/mgr/widgets/abs/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Ext.extend(ExtraFields.grid.FieldAbs, ExtraFields.grid.Default, {
listeners: {
success: {
fn: function (r) {
var w = MODx.load({
let w = MODx.load({
xtype: 'ef-abs-window-update',
id: Ext.id(),
class_name: class_name.value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function cleanup() {
if (!empty($array['ab_user_group'])) {
$array['ab_user_group'] = explode('||', $array['ab_user_group']);
}
$array['hide_time'] = $array['hide_time'] ? 1 : 0;

return $this->success('', $array);
}
Expand Down

0 comments on commit 39d9499

Please sign in to comment.