mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 12:01:20 +02:00
* Api: Fix mobile template not working with iOS < 10 anymore (iOS < 10 is not compatible with JS ES6)
This commit is contained in:
@ -1939,7 +1939,7 @@ var AppJS = (function(){ "use strict"; return Class.extend(
|
||||
}
|
||||
|
||||
// But merge into email can handle several
|
||||
Promise.all(promises.map(p => p.catch(e => e)))
|
||||
Promise.all(promises.map(function(p){p.catch(function(e){console.log(e)})}))
|
||||
.then(function(values) {
|
||||
// Process document after all shares created
|
||||
return nm_action(_action, _senders, _target);
|
||||
|
@ -264,7 +264,7 @@ egw.extend('user', egw.MODULE_GLOBAL, function()
|
||||
/**
|
||||
* resolve given data whilst the condition met
|
||||
*/
|
||||
const resolveData = function(_d, condition, action) {
|
||||
var resolveData = function(_d, condition, action) {
|
||||
var whilst = function (_d) {
|
||||
return condition(_d) ? action(condition(_d)).then(whilst) : Promise.resolve(_d);
|
||||
}
|
||||
@ -274,7 +274,7 @@ egw.extend('user', egw.MODULE_GLOBAL, function()
|
||||
/**
|
||||
* get data promise
|
||||
*/
|
||||
const getData = function(_match)
|
||||
var getData = function(_match)
|
||||
{
|
||||
var match = _match;
|
||||
return new Promise(function(resolve)
|
||||
|
Reference in New Issue
Block a user