add message to submit or postpone statistic first

This commit is contained in:
Ralf Becker
2014-10-17 13:49:42 +00:00
parent 15bc2f3ade
commit f14d3b4c8b
3 changed files with 3 additions and 1 deletions

View File

@ -115,6 +115,7 @@ app.classes.admin = AppJS.extend(
{
if (this.iframe && this.iframe.getDOMNode().contentDocument.location.href.match(/menuaction=admin.admin_statistics.submit/))
{
this.egw.message(this.egw.lang('Please submit (or postpone) statistic first'), 'info');
return; // do not allow to leave statistics submit
}
if (_url)