mirror of
https://github.com/Combodo/iTop.git
synced 2026-07-19 05:06:38 +02:00
N°9565 - Extension Mgmt : display progression during analysis
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
{% EndUIToolbar %}
|
||||
{% EndUIForm %}
|
||||
{% else %}
|
||||
{% UIAlert ForFailure { sTitle: 'aze', sContent: 'DataFeatureRemoval:DeletionPlan:Error:Issues'|dict_s } %}{% EndUIAlert %}
|
||||
{% UIAlert ForFailure { sTitle: '', sContent: 'DataFeatureRemoval:DeletionPlan:Error:Issues'|dict_s } %}{% EndUIAlert %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% UIAlert ForSuccess { sTitle:'DataFeatureRemoval:CleanupComplete:Title'|dict_s, sContent:'DataFeatureRemoval:CompilComplete'|dict_s } %}{% EndUIAlert %}
|
||||
|
||||
@@ -19,6 +19,7 @@ function ajax_run_audit() {
|
||||
}
|
||||
)
|
||||
.fail(function() {
|
||||
$('#ajax_run_audit_in_progress_msg').addClass('ibo-is-hidden');
|
||||
$('#ajax_run_audit_error_msg .ibo-alert--title').html('{{ 'DataFeatureRemoval:RunAudit:Error'|dict_s }}');
|
||||
$('#ajax_run_audit_error_msg').removeClass('ibo-is-hidden');
|
||||
});
|
||||
@@ -46,6 +47,7 @@ function ajax_compile() {
|
||||
'json'
|
||||
)
|
||||
.fail(function() {
|
||||
$('#ajax_compile_in_progress_msg').addClass('ibo-is-hidden');
|
||||
$('#ajax_compile_error_msg .ibo-alert--title').html('{{ 'DataFeatureRemoval:Compile:Error'|dict_s }}');
|
||||
$('#ajax_compile_error_msg').removeClass('ibo-is-hidden');
|
||||
});
|
||||
|
||||
@@ -45,7 +45,7 @@ class SessionParameters
|
||||
*/
|
||||
public function SetParameter($sParamCode, $value): void
|
||||
{
|
||||
if (!isset($this->aParameters[$sParamCode]) || $this->aParameters[$sParamCode] !== $value) {
|
||||
if (!array_key_exists($sParamCode, $this->aParameters) || $this->aParameters[$sParamCode] !== $value) {
|
||||
$this->aParameters[$sParamCode] = $value;
|
||||
$this->Save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user