Initial parameters handling (total users / total blocked). Frontend part. TODO: backend part

This commit is contained in:
Dima Malishev 2011-08-21 22:36:01 +03:00
parent d1cf8bdd97
commit d9c7dba5f1
7 changed files with 46 additions and 31 deletions

View file

@ -366,7 +366,7 @@ App.HTML.Build.cron_form = function(options, id)
}
var tpl = App.Templates.get('FORM', 'cron');
tpl.set(':source', options);
tpl.set(':id', id || '');
options = App.Helpers.evalJSON(options) || {};
if (App.Helpers.isEmpty(options)) {
tpl.set(':title', 'New cron entry');