make user action is set in exitError()

This commit is contained in:
Uwe Steinmann 2018-04-06 09:45:08 +02:00
parent 305a980e44
commit d97ef62ff1

View File

@ -1359,7 +1359,7 @@ $(document).ready(function() {
* $view() after setting the action to 'error'. This would also allow to
* set separate error pages for each view.
*/
if(!$noexit) {
if(!$noexit && isset($_REQUEST['action'])) {
if(in_array($_REQUEST['action'], array('js', 'footerjs'))) {
exit;
}