fixed custom_mapping bug

v1.18.x
psychobunny 12 years ago
parent 9ad1b572aa
commit 6ebc5398a7

@ -25,6 +25,7 @@ var ajaxify = {};
};
ajaxify.go = function(url, callback) {
// leave room and join global
app.enter_room('global');
@ -39,7 +40,7 @@ var ajaxify = {};
jQuery('#content').fadeOut(100);
load_template(function() {
console.log('called');
exec_body_scripts(content);
ajaxify.enable();

@ -2,7 +2,7 @@ var templates = {};
(function() {
var ready_callback,
config;
config = {};
templates.get_custom_map = function(tpl) {
return (config['custom_mapping'] && config['custom_mapping'][tpl]) ? config['custom_mapping'][tpl] : tpl;

Loading…
Cancel
Save