diff --git a/module/upgrade/js/execute.ui.js b/module/upgrade/js/execute.ui.js index ab97e97c27..4740facf4d 100644 --- a/module/upgrade/js/execute.ui.js +++ b/module/upgrade/js/execute.ui.js @@ -10,13 +10,39 @@ window.submitConfirm = function(event) window.copyCommand = function() { const command = $('#command').text(); - navigator.clipboard.writeText(command).then(function() - { - zui.Messager.show({type: 'success', message: copySuccess, timeout: 1000}); - }, function() - { - zui.Messager.show({type: 'danger', message: copyFail, timeout: 1000}); + const $textArea = $('