USERS / CRON / IP ready. DNS (partly). JS form validators written. Added functionality

This commit is contained in:
Dima Malishev 2011-09-03 18:20:14 +03:00
parent ea5a8a2659
commit 04c7a8b545
15 changed files with 568 additions and 297 deletions

View file

@ -77,6 +77,7 @@ App.Model.add = function(values, source_json)
App.Ref.CONTENT..replaceWith(tpl);*/
// todo: reply.data;
App.Pages.prepareHTML();
App.Helpers.updateScreen();
}
});
}
@ -114,8 +115,11 @@ App.Model.update = function(values, source_json, elm)
App.Helpers.Warn('Changes were not applied');
}
else {
var tpl = App.HTML.Build[build_method](reply.data);
/*var tpl = App.HTML.Build[build_method](reply.data);
$(elm).replaceWith(tpl);
App.Helpers.updateScreen();*/
// todo: reply.data;
App.Pages.prepareHTML();
App.Helpers.updateScreen();
}
// TODO: !