This commit is contained in:
cutemeli
2025-12-22 10:35:30 +00:00
parent 0bfc6c8425
commit 5ce7ca2c5d
38927 changed files with 0 additions and 4594700 deletions

View File

@@ -1,33 +0,0 @@
// Copyright 1999-2017. Plesk International GmbH. All Rights Reserved.
function finishMigration(sessionId) {
new Ajax.Request(URL_GET_SUBSCRIPTIONS_IN_QUEUE_COUNT + '/session/' + sessionId, {
onSuccess: function (response) {
var subscriptionsInQueue = response.responseText.evalJSON();
var messageBoxParams = {
'type': Jsw.messageBox.TYPE_YESNO,
'subtype': 'delete',
'text': MESSAGE_FINISH_MIGRATION_CONFIRMATION,
'onYesClick': function () {
Jsw.redirectPost(URL_REMOVE_SESSION, {
session: sessionId
});
},
'buttonTitles': {
'yes': MESSAGE_FINISH_MIGRATION_YES,
'no': MESSAGE_FINISH_MIGRATION_NO
}
};
if (subscriptionsInQueue > 0) {
messageBoxParams.needAttention = true;
messageBoxParams.needAttentionText = formatMessage(
MESSAGE_FINISH_MIGRATION_STOP_TASKS, subscriptionsInQueue
);
messageBoxParams.needAttentionBlockSubmit = true;
}
Jsw.messageBox.show(messageBoxParams);
}
});
}