This commit is contained in:
Usman Nasir
2019-12-30 15:08:23 +05:00
parent 6216299edb
commit 5a693289c1
3 changed files with 25 additions and 1 deletions

View File

@@ -4950,11 +4950,23 @@ app.controller('sshAccess', function ($scope, $http, $timeout) {
/* Java script code to cloneWebsite */
app.controller('cloneWebsite', function ($scope, $http, $timeout, $window) {
$('form').submit(function (e) {
e.preventDefault();
});
$scope.cyberpanelLoading = true;
$scope.installationDetailsForm = false;
$scope.installationProgress = true;
$scope.goBackDisable = true;
$scope.cloneEnter = function ($event) {
var keyCode = $event.which || $event.keyCode;
if (keyCode === 13) {
$scope.cyberpanelLoading = false;
$scope.startCloning();
}
};
var statusFile;
$scope.startCloning = function () {