Repository: zeppelin Updated Branches: refs/heads/branch-0.6 70524348f -> 28809a6b8
[Bugfix] init RepoSetting values ### What is this PR for? This PR fixes initialize value bug of ```Add New Repository```. ### What type of PR is it? Bug Fix ### How should this be tested? 1. launch the ```Add New Repository``` modal window. 2. put URL value 3. hit Cancel button 4. launch the ```Add New Repository``` modal window again. ### Screenshots (if appropriate) - before  - after  ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: astroshim <[email protected]> Closes #1097 from astroshim/bugfix/initRepositoryValues and squashes the following commits: f5a08d5 [astroshim] init newRepoSetting values (cherry picked from commit d4e3d8cf05e75fc1920dd6419c7c2f41b34ff08e) Signed-off-by: Mina Lee <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/28809a6b Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/28809a6b Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/28809a6b Branch: refs/heads/branch-0.6 Commit: 28809a6b8557ba34ebf3ab01c0cf60ecd6988610 Parents: 7052434 Author: astroshim <[email protected]> Authored: Tue Jun 28 02:08:47 2016 +0900 Committer: Mina Lee <[email protected]> Committed: Mon Jul 18 15:02:38 2016 +0900 ---------------------------------------------------------------------- zeppelin-web/src/app/interpreter/interpreter.controller.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/28809a6b/zeppelin-web/src/app/interpreter/interpreter.controller.js ---------------------------------------------------------------------- diff --git a/zeppelin-web/src/app/interpreter/interpreter.controller.js b/zeppelin-web/src/app/interpreter/interpreter.controller.js index 8610910..d787238 100644 --- a/zeppelin-web/src/app/interpreter/interpreter.controller.js +++ b/zeppelin-web/src/app/interpreter/interpreter.controller.js @@ -389,11 +389,11 @@ angular.module('zeppelinWebApp').controller('InterpreterCtrl', function($scope, $scope.resetNewRepositorySetting = function() { $scope.newRepoSetting = { - id: undefined, - url: undefined, + id: '', + url: '', snapshot: false, - username: undefined, - password: undefined + username: '', + password: '' }; };
