From ebb36a6d45353c9eb4a6cea2698c1b1099681fb1 Mon Sep 17 00:00:00 2001 From: hkernbach Date: Thu, 13 Oct 2016 10:54:06 +0200 Subject: [PATCH] queryview bugfix, color --- .../aardvark/APP/frontend/js/views/queryView.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/views/queryView.js b/js/apps/system/_admin/aardvark/APP/frontend/js/views/queryView.js index c720dde8da..d085867a1c 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/views/queryView.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/views/queryView.js @@ -104,7 +104,7 @@ _.each($('.queryProfile'), function (elem) { if ($(elem).attr('counter') === count) { - $(elem).fadeOut('fast'); + $(elem).fadeOut('fast').remove(); } }); }, @@ -1909,7 +1909,7 @@ 'rgb(93, 165, 218)', 'rgb(250, 164, 58)', 'rgb(96, 189, 104)', - 'rgb(0, 0, 0)' + 'rgb(64, 74, 83)' ]; var descs = [ @@ -1946,11 +1946,11 @@ queryProfile.find('.pure-g').append( '
' + - '

' + legend[pos] + '

' + - '
' + ms + '
' + - '
' + key + '
' + - '
' + descs[pos] + '
' + - '
' + '

' + legend[pos] + '

' + + '
' + ms + '
' + + '
' + key + '
' + + '
' + descs[pos] + '
' + + '' ); width = (value * 1000) / total * 100;