mirror of
https://github.com/myvesta/vesta
synced 2025-07-11 15:46:43 -07:00
USERS / CRON / IP ready. DNS (partly). JS form validators written. Added functionality
This commit is contained in:
parent
ea5a8a2659
commit
04c7a8b545
15 changed files with 568 additions and 297 deletions
|
@ -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: !
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue