Add button to copy the backup id
This commit is contained in:
@@ -253,6 +253,12 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
|
||||
action: 'restore',
|
||||
|
||||
copyBackupId: function () {
|
||||
var copyText = document.getElementById('appRestoreSelectedBackupId');
|
||||
copyText.select();
|
||||
document.execCommand('copy');
|
||||
},
|
||||
|
||||
selectBackup: function (backup) {
|
||||
$scope.appRestore.selectedBackup = backup;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user