This commit is contained in:
Bálint Szekeres
2019-11-10 21:44:16 +01:00
parent c6269ccaa0
commit 151bb3af5e
5 changed files with 41 additions and 15 deletions

View File

@@ -645,6 +645,22 @@
}
}
$scope.siteKeydown = function(event) {
if (event.which === 37) {
$scope.setTabSiteBack();
} else if (event.which === 39) {
$scope.setTabSiteNext();
}
}
$scope.commonKeydown = function(event) {
if (event.which === 37) {
$scope.setTabCommonBack();
} else if (event.which === 39) {
$scope.setTabCommonNext();
}
}
$scope.setPreset = function(preset) {
$scope.data.sites[$scope.site].php = $scope.defaultData.sites[0].php;
$scope.data.sites[$scope.site].wordpress = $scope.defaultData.sites[0].wordpress;