diff --git a/app/scripts/controllers/ChangePassword.coffee b/app/scripts/controllers/ChangePassword.coffee index 19e419c0847..777e82d617f 100644 --- a/app/scripts/controllers/ChangePassword.coffee +++ b/app/scripts/controllers/ChangePassword.coffee @@ -59,7 +59,6 @@ angular.module('neo4jApp.controllers') #New user who just changed the default password. if not is_authenticated $scope.$parent.defaultPasswordChanged() - Frame.create({input:"#{Settings.initCmd}"}) $scope.password_changed = true $scope.$parent.frame.resetError() diff --git a/app/scripts/controllers/Main.coffee b/app/scripts/controllers/Main.coffee index 1018f4e6ad4..6114582217b 100644 --- a/app/scripts/controllers/Main.coffee +++ b/app/scripts/controllers/Main.coffee @@ -227,7 +227,7 @@ angular.module('neo4jApp.controllers') return Frame.create({input:"#{Settings.cmdchar}server connect"}) if !newUser $scope.$watch 'version', (val) -> - return '' if not val + return '' if not val or Object.keys(val).length is 0 $scope.neo4j.version = val.version $scope.neo4j.edition = val.edition $scope.neo4j.enterpriseEdition = val.edition is 'enterprise'