Repository: zeppelin Updated Branches: refs/heads/branch-0.7 11d6fb38a -> 69e70d515
[MINOR] fix typo from 'interpeter' to 'interpreter' ### What is this PR for? Fix typo from `interpeter` to `interpreter` ### What type of PR is it? [Improvement] ### What is the Jira issue? * No, it's minor issue ### How should this be tested? - N/A ### Screenshots (if appropriate) - N/A ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: soralee <sora0...@zepl.com> Closes #2244 from soralee/typo_interpreter and squashes the following commits: 863dc4f [soralee] fix typo (cherry picked from commit c3fbb1ef664e7a54a8bc52eee435b91be8a6e16d) Signed-off-by: ahyoungryu <ahyoung...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/69e70d51 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/69e70d51 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/69e70d51 Branch: refs/heads/branch-0.7 Commit: 69e70d5157b8a56532ee1a5014b846c7e325121c Parents: 11d6fb3 Author: soralee <sora0...@zepl.com> Authored: Tue Apr 11 09:43:03 2017 +0900 Committer: ahyoungryu <ahyoung...@apache.org> Committed: Wed Apr 19 18:52:06 2017 +0900 ---------------------------------------------------------------------- zeppelin-web/src/app/notebook/notebook.controller.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/69e70d51/zeppelin-web/src/app/notebook/notebook.controller.js ---------------------------------------------------------------------- diff --git a/zeppelin-web/src/app/notebook/notebook.controller.js b/zeppelin-web/src/app/notebook/notebook.controller.js index 97d8335..b31e507 100644 --- a/zeppelin-web/src/app/notebook/notebook.controller.js +++ b/zeppelin-web/src/app/notebook/notebook.controller.js @@ -719,13 +719,13 @@ function NotebookCtrl($scope, $route, $routeParams, $location, $rootScope, $scope.permissions.writers = angular.element('#selectWriters').val(); } - $scope.restartInterpreter = function(interpeter) { + $scope.restartInterpreter = function(interpreter) { var thisConfirm = BootstrapDialog.confirm({ closable: false, closeByBackdrop: false, closeByKeyboard: false, title: '', - message: 'Do you want to restart ' + interpeter.name + ' interpreter?', + message: 'Do you want to restart ' + interpreter.name + ' interpreter?', callback: function(result) { if (result) { var payload = { @@ -736,9 +736,9 @@ function NotebookCtrl($scope, $route, $routeParams, $location, $rootScope, thisConfirm.$modalFooter.find('button:contains("OK")') .html('<i class="fa fa-circle-o-notch fa-spin"></i> Saving Setting'); - $http.put(baseUrlSrv.getRestApiBase() + '/interpreter/setting/restart/' + interpeter.id, payload) + $http.put(baseUrlSrv.getRestApiBase() + '/interpreter/setting/restart/' + interpreter.id, payload) .success(function(data, status, headers, config) { - var index = _.findIndex($scope.interpreterSettings, {'id': interpeter.id}); + var index = _.findIndex($scope.interpreterSettings, {'id': interpreter.id}); $scope.interpreterSettings[index] = data.body; thisConfirm.close(); }).error(function(data, status, headers, config) {