mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
WIP BBB: Do not let meetings in the past going through
This commit is contained in:
parent
d957ed41d0
commit
54abea4a4e
@ -3567,8 +3567,13 @@ var CalendarApp = /** @class */ (function (_super) {
|
|||||||
account_id: egw.user('account_id'),
|
account_id: egw.user('account_id'),
|
||||||
email: egw.user('account_email'),
|
email: egw.user('account_email'),
|
||||||
cal_id: _data.id
|
cal_id: _data.id
|
||||||
}, _data.start, _data.end], function (_url) {
|
}, _data.start, _data.end], function (_value) {
|
||||||
app.status.openCall(_url);
|
if (_value) {
|
||||||
|
if (_value.err)
|
||||||
|
egw.message(_value.err, 'error');
|
||||||
|
if (_value.url)
|
||||||
|
app.status.openCall(_value.url);
|
||||||
|
}
|
||||||
}).sendRequest();
|
}).sendRequest();
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
|
@ -4428,8 +4428,12 @@ class CalendarApp extends EgwApp
|
|||||||
account_id:egw.user('account_id'),
|
account_id:egw.user('account_id'),
|
||||||
email:egw.user('account_email'),
|
email:egw.user('account_email'),
|
||||||
cal_id:_data.id
|
cal_id:_data.id
|
||||||
}, _data.start, _data.end], function(_url){
|
}, _data.start, _data.end], function(_value){
|
||||||
app.status.openCall(_url);
|
if (_value)
|
||||||
|
{
|
||||||
|
if (_value.err) egw.message(_value.err, 'error');
|
||||||
|
if(_value.url) app.status.openCall(_value.url);
|
||||||
|
}
|
||||||
}).sendRequest();
|
}).sendRequest();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user