v1.18.x
psychobunny 11 years ago
parent 09861cbc0e
commit bbd4201a38

@ -222,9 +222,9 @@ define('forum/admin/themes', ['forum/admin/settings'], function(Settings) {
$('#widgets .save').on('click', saveWidgets);
function saveWidgets() {
var total = $('#widgets [data-template]').length;
var total = $('#widgets [data-template][data-location]').length;
$('#widgets [data-template]').each(function(i, el) {
$('#widgets [data-template][data-location]').each(function(i, el) {
el = $(el);
var template = el.attr('data-template'),

Loading…
Cancel
Save