mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
(WIP) Added spinner (#39)
This commit is contained in:
@ -14,13 +14,15 @@ App.Presenters.RegistrationPresenter = function(
|
||||
var template;
|
||||
var $messages;
|
||||
|
||||
function init() {
|
||||
function init(args, loaded) {
|
||||
topNavigationPresenter.select('register');
|
||||
topNavigationPresenter.changeTitle('Registration');
|
||||
promise.wait(util.promiseTemplate('registration-form')).then(function(html) {
|
||||
template = _.template(html);
|
||||
render();
|
||||
});
|
||||
promise.wait(util.promiseTemplate('registration-form'))
|
||||
.then(function(html) {
|
||||
template = _.template(html);
|
||||
render();
|
||||
loaded();
|
||||
});
|
||||
}
|
||||
|
||||
function render() {
|
||||
|
Reference in New Issue
Block a user