diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js index 5c729fa48..cf77db9bb 100644 --- a/view/js/mod_settings.js +++ b/view/js/mod_settings.js @@ -37,12 +37,14 @@ function setTheme(elm) { function previewTheme(elm) { theme = $(elm).val(); + var schema = $('#id_schema').val(); $.getJSON('theme_info/' + theme,function(data) { $('#theme-preview').html('
' + data.desc + '
' + data.version + '
' + data.credits + '
' + theme + ''); $('#id_schema').empty(); $(data.schemas).each(function(index,item) { $('