Browse Source

[Administration] Tableau de bord administrateur

feature/souke
Guillaume Bourgeois 10 months ago
parent
commit
c02bc1ce15
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      backend/web/js/backend.js

+ 6
- 3
backend/web/js/backend.js View File

@@ -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() {

Loading…
Cancel
Save