From 91f318c7d9fc005e07b28ef2ede14e609cf47187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 7 May 2014 12:19:51 +0200 Subject: [PATCH] Feature #1607: Fix bug in initialization --- src/sunstone/public/js/sunstone.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js index f6d2ee74d4..1da19ee411 100644 --- a/src/sunstone/public/js/sunstone.js +++ b/src/sunstone/public/js/sunstone.js @@ -3909,7 +3909,12 @@ $(document).ready(function(){ // fixed_group fix an owner group ID // init_group_by "user", "group", "vm". init the group-by selector function accountingGraphs(div, opt){ - div.append( + + if(div.html() != ""){ + return false; + } + + div.html( '
\
\ '+tr("Time range")+'\