Fix insert multiple entries into email document failed at "Please wait ... loading"

This commit is contained in:
nathan
2023-08-01 09:11:09 -06:00
parent 76c59d2103
commit 583072ce9d
4 changed files with 11 additions and 9 deletions

View File

@ -10,6 +10,8 @@
* @copyright EGroupware GmbH 2012-2021
*/
import {EgwActionManager} from "../egw_action/EgwActionManager";
/**
* Default action for nextmatch rows, runs action specified _action.data.nm_action: see nextmatch_widget::egw_actions()
*
@ -83,7 +85,7 @@ export function nm_action(_action, _senders, _target, _ids)
}
//console.log(_action); console.log(_senders);
var mgr = _action.getManager();
let mgr = _action instanceof EgwActionManager ? _action : _action.getManager();
var url = '#';
if (typeof _action.data.url != 'undefined')
@ -320,7 +322,7 @@ export function fetchAll(ids, nextmatch, callback)
callback.call(this, idsArr);
}
}
},this);
}, {});
count += 200;
} while (count < total)
return true;