backoffice: correctly ignore graphs function when refreshing listings (#7109)

This commit is contained in:
Frédéric Péters 2015-04-30 11:40:13 +02:00
parent d4bff9858c
commit 662cb01503
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ function refresh_table() {
$('#page-links').remove();
$('#listing').replaceWith(html);
$('#statistics').replaceWith(html);
if (wcs_draw_graphs !== undefined) {
if (typeof(wcs_draw_graphs) !== 'undefined') {
wcs_draw_graphs();
}
prepare_page_links();