fixed header template value too

v1.18.x
Baris Soner Usakli 11 years ago
parent cab6ab8e17
commit 83cc8f3ba8

@ -92,6 +92,7 @@ define(function() {
}
$('#create-modal').modal('hide');
app.alertSuccess('User created!');
ajaxify.go('admin/users');
});
});

@ -99,7 +99,7 @@ var path = require('path'),
clientScripts: clientScripts,
navigation: custom_header.navigation,
'cache-buster': meta.config['cache-buster'] ? '?v=' + meta.config['cache-buster'] : '',
allowRegistration: parseInt(meta.config.allowRegistration, 10) === 1
allowRegistration: meta.config.allowRegistration === undefined || parseInt(meta.config.allowRegistration, 10) === 1
};
var uid = '0';

Loading…
Cancel
Save