diff --git a/client/app/telecom/telephony/alias/configuration/changeType/telecom-telephony-alias-configuration-changeType.controller.js b/client/app/telecom/telephony/alias/configuration/changeType/telecom-telephony-alias-configuration-changeType.controller.js index a31b6dce1..0243fe945 100644 --- a/client/app/telecom/telephony/alias/configuration/changeType/telecom-telephony-alias-configuration-changeType.controller.js +++ b/client/app/telecom/telephony/alias/configuration/changeType/telecom-telephony-alias-configuration-changeType.controller.js @@ -85,8 +85,6 @@ angular.module("managerApp").controller("TelecomTelephonyAliasConfigurationChang ============================ */ self.bulkDatas = { - billingAccount: $stateParams.billingAccount, - serviceName: $stateParams.serviceName, infos: { name: "configurationNumberChangeType", actions: [{ @@ -142,7 +140,15 @@ angular.module("managerApp").controller("TelecomTelephonyAliasConfigurationChang Toast.error([$translate.instant("telephony_alias_config_change_type_bulk_on_error"), _.get(error, "msg.data")].join(" ")); }; + self.checkServerTasksStatus = function (updatedServices) { + + function runPollOnTask (billingAccount, serviceName, taskId) { + return function () { + return voipServiceTask.startPolling(billingAccount, serviceName, taskId); + }; + } + self.loading.changing = true; var chain = $q.when(); @@ -163,12 +169,6 @@ angular.module("managerApp").controller("TelecomTelephonyAliasConfigurationChang return chain; }; - function runPollOnTask (billingAccount, serviceName, taskId) { - return function () { - return voipServiceTask.startPolling(billingAccount, serviceName, taskId); - }; - } - /* ----- End of BULK ------ */ init(); diff --git a/client/app/telecom/telephony/alias/configuration/changeType/telecom-telephony-alias-configuration-changeType.html b/client/app/telecom/telephony/alias/configuration/changeType/telecom-telephony-alias-configuration-changeType.html index 4b0bff967..0dde1dc61 100644 --- a/client/app/telecom/telephony/alias/configuration/changeType/telecom-telephony-alias-configuration-changeType.html +++ b/client/app/telecom/telephony/alias/configuration/changeType/telecom-telephony-alias-configuration-changeType.html @@ -63,8 +63,8 @@