diff --git a/var/www/modules/dashboard/templates/index.html b/var/www/modules/dashboard/templates/index.html index e7331b6f..6d1bf12d 100644 --- a/var/www/modules/dashboard/templates/index.html +++ b/var/www/modules/dashboard/templates/index.html @@ -24,8 +24,7 @@ window.glob_tabvar = []; // Avoid undefined window.threshold_stucked_module = {{ threshold_stucked_module }} function update_values() { - $SCRIPT_ROOT = {{ request.script_root|tojson|safe }}; - $.getJSON($SCRIPT_ROOT+"/_stuff", + $.getJSON("{{ url_for('dashboard.stuff') }}", function(data) { window.glob_tabvar = data; }); @@ -189,14 +188,16 @@ - + - + diff --git a/var/www/modules/sentiment/templates/sentiment_analysis_trending.html b/var/www/modules/sentiment/templates/sentiment_analysis_trending.html index f0c12790..d1ed7c02 100644 --- a/var/www/modules/sentiment/templates/sentiment_analysis_trending.html +++ b/var/www/modules/sentiment/templates/sentiment_analysis_trending.html @@ -230,7 +230,9 @@ - + - +
diff --git a/var/www/modules/trendingmodules/templates/Moduletrending.html b/var/www/modules/trendingmodules/templates/Moduletrending.html index e7ac8232..5c24110a 100644 --- a/var/www/modules/trendingmodules/templates/Moduletrending.html +++ b/var/www/modules/trendingmodules/templates/Moduletrending.html @@ -34,10 +34,12 @@ - +