@@ -70,9 +70,12 @@ var UrlManager = { | |||
}; | |||
function opendistrib_dashboard_admin_statistics() { | |||
$.get(UrlManager.getBaseUrl() + 'dashboard-admin/ajax-statistics-html', {}, function(result) { | |||
$('#dashboard-admin-statistics-html').html(result); | |||
}); | |||
var selector = '#dashboard-admin-statistics-html'; | |||
if($(selector).length) { | |||
$.get(UrlManager.getBaseUrl() + 'dashboard-admin/ajax-statistics-html', {}, function(result) { | |||
$(selector).html(result); | |||
}); | |||
} | |||
} | |||
function opendistrib_check_all_checkboxes() { |