diff --git a/src/Umbraco.Web.UI.Client/src/installer/steps/database.controller.js b/src/Umbraco.Web.UI.Client/src/installer/steps/database.controller.js index 81d35145e2..b82f99e4e2 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/steps/database.controller.js +++ b/src/Umbraco.Web.UI.Client/src/installer/steps/database.controller.js @@ -1,6 +1,16 @@ angular.module("umbraco.install").controller("Umbraco.Installer.DataBaseController", function($scope, $http, installerService){ $scope.checking = false; + $scope.dbs = [ + {name: 'Embedded database SQL MEH', id: 0}, + {name: 'Microsft SQL Server', id: 1}, + {name: 'MySQL', id: 2}, + {name: 'Custom connection-string', id: -1}]; + + if(installerService.status.current.model.dbType === undefined){ + installerService.status.current.model.dbType = 0; + } + $scope.validateAndForward = function(){ if(!$scope.checking && this.myForm.$valid){ $scope.checking = true; diff --git a/src/Umbraco.Web.UI.Client/src/installer/steps/database.html b/src/Umbraco.Web.UI.Client/src/installer/steps/database.html index 4f123d96f8..99ff915e4e 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/steps/database.html +++ b/src/Umbraco.Web.UI.Client/src/installer/steps/database.html @@ -6,27 +6,16 @@