mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-24 19:23:45 +08:00
WIP
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user