mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
fix for admin templates
This commit is contained in:
@@ -89,6 +89,7 @@
|
||||
jQuery.when(jQuery.getJSON(RELATIVE_PATH + '/templates/config.json'), jQuery.getJSON(RELATIVE_PATH + '/api/get_templates_listing')).done(function(config_data, templates_data) {
|
||||
config = config_data[0];
|
||||
available_templates = templates_data[0];
|
||||
console.log(config, available_templates);
|
||||
|
||||
templates.ready();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user