This commit is contained in:
Kload 2013-10-01 12:45:56 +02:00
parent 6317f8b0db
commit dacfeb2224

View file

@ -237,11 +237,12 @@ app = Sammy('#main', function (sam) {
if (c.params['ddomain'] == '') {
c.flash('fail', "You should indicate a domain");
store.clear('slide');
c.redirect('#/domains/add');
c.redirect('#/postinstall');
} else {
params = { 'domain': c.params['ddomain'] + c.params['ddomain-ext'] }
}
params = { 'domain': c.params['ddomain'] + c.params['ddomain-ext'] }
} else {
params = { 'domaim': c.params['domain'] }
params = { 'domain': c.params['domain'] }
}
params['password'] = c.params['password']