Skip to content

Commit

Permalink
v3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ydtg1993 committed Oct 11, 2022
1 parent c6efda4 commit 309a818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Widget/PlaneAction/HeadPosAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct($title,$url,$xhr,$options)
let XHR = JSON.parse('{$xhr}');
XHR.callback = {$callback};
XHR.url = XHR.url !== undefined ? XHR.url : url;
XHR.listener = (DOM)=>DOM.querySelector('button[type="submit"]');
XHR.listener = (DOM)=>DOM.querySelector('.box-footer button[type="submit"]');
new ComponentPlane(url,XHR,JSON.parse('{$options}'));
});
EOF
Expand Down
2 changes: 1 addition & 1 deletion src/Widget/PlaneAction/RowPosAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct($title,$url,$xhr,$options)
XHR.callback = {$callback};
let xhr_url = XHR.url !== undefined ? XHR.url : url;
XHR.url = xhr_url.replace('{id}',$(this).attr('data-id'));
XHR.listener = (DOM)=>DOM.querySelector('button[type="submit"]');
XHR.listener = (DOM)=>DOM.querySelector('.box-footer button[type="submit"]');
new ComponentPlane(url,XHR,JSON.parse('{$options}'));
});
EOF
Expand Down

0 comments on commit 309a818

Please sign in to comment.