mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
fixed header template value too
This commit is contained in:
@@ -92,6 +92,7 @@ define(function() {
|
|||||||
}
|
}
|
||||||
$('#create-modal').modal('hide');
|
$('#create-modal').modal('hide');
|
||||||
app.alertSuccess('User created!');
|
app.alertSuccess('User created!');
|
||||||
|
ajaxify.go('admin/users');
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ var path = require('path'),
|
|||||||
clientScripts: clientScripts,
|
clientScripts: clientScripts,
|
||||||
navigation: custom_header.navigation,
|
navigation: custom_header.navigation,
|
||||||
'cache-buster': meta.config['cache-buster'] ? '?v=' + meta.config['cache-buster'] : '',
|
'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';
|
var uid = '0';
|
||||||
|
|||||||
Reference in New Issue
Block a user