mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Merge branch 'support/3.0' into support/3.1
This commit is contained in:
@@ -61,7 +61,7 @@ if (typeof(charts) === "undefined")
|
||||
}
|
||||
var idxChart=charts.length;
|
||||
charts.push(chart);
|
||||
var refreshChart{{ oUIBlock.sId|sanitize(constant('utils::ENUM_SANITIZATION_FILTER_VARIABLE_NAME')) }} = '$.post("{{ oUIBlock.sURLForRefresh|raw }}&refresh='+idxChart+'","", function (data) {'+
|
||||
var refreshChart{{ oUIBlock.sId|sanitize(constant('utils::ENUM_SANITIZATION_FILTER_VARIABLE_NAME')) }} = '$.post("{{ oUIBlock.sURLForRefresh|escape('js') }}&refresh='+idxChart+'","", function (data) {'+
|
||||
'charts['+idxChart+'].unload();'+
|
||||
'setTimeout(function () {eval(data.js);},50);'+
|
||||
'})';
|
||||
|
||||
@@ -39,7 +39,7 @@ if (typeof (charts) === "undefined")
|
||||
}
|
||||
var idxChart = charts.length;
|
||||
charts.push(chart);
|
||||
var refreshChart{{ oUIBlock.sId|sanitize(constant('utils::ENUM_SANITIZATION_FILTER_VARIABLE_NAME')) }}=' $.post("{{ oUIBlock.sURLForRefresh|raw }}&refresh='+idxChart+'","", function (data) {'+
|
||||
var refreshChart{{ oUIBlock.sId|sanitize(constant('utils::ENUM_SANITIZATION_FILTER_VARIABLE_NAME')) }}=' $.post("{{ oUIBlock.sURLForRefresh|escape('js')}}&refresh='+idxChart+'","", function (data) {'+
|
||||
'charts['+idxChart+'].unload();'+
|
||||
'setTimeout(function () {eval(data.js);},50);'+
|
||||
'});';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% apply spaceless %}
|
||||
$.post(
|
||||
'{{ oUIBlock.sAjaxLink|raw }}',
|
||||
'{{ oUIBlock.sAjaxLink|escape('js') }}',
|
||||
{{ oUIBlock.sJsonParams|raw }},
|
||||
function(data) {
|
||||
$('#csv_content').html(data);
|
||||
|
||||
Reference in New Issue
Block a user