forked from extern/egroupware
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'),
|
||||
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();
|
||||
};
|
||||
/**
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user