WIP BBB: Do not let meetings in the past going through

This commit is contained in:
Hadi Nategh 2020-12-02 17:03:00 +01:00
parent d957ed41d0
commit 54abea4a4e
2 changed files with 13 additions and 4 deletions

View File

@ -3567,8 +3567,13 @@ var CalendarApp = /** @class */ (function (_super) {
account_id: egw.user('account_id'),
email: egw.user('account_email'),
cal_id: _data.id
}, _data.start, _data.end], function (_url) {
app.status.openCall(_url);
}, _data.start, _data.end], function (_value) {
if (_value) {
if (_value.err)
egw.message(_value.err, 'error');
if (_value.url)
app.status.openCall(_value.url);
}
}).sendRequest();
};
/**

View File

@ -4428,8 +4428,12 @@ class CalendarApp extends EgwApp
account_id:egw.user('account_id'),
email:egw.user('account_email'),
cal_id:_data.id
}, _data.start, _data.end], function(_url){
app.status.openCall(_url);
}, _data.start, _data.end], function(_value){
if (_value)
{
if (_value.err) egw.message(_value.err, 'error');
if(_value.url) app.status.openCall(_value.url);
}
}).sendRequest();
}
}