Repository: zeppelin Updated Branches: refs/heads/master d87f2e5df -> 512f05260
ZEPPELIN-1145 Zeppelin UI fails to load page with HTTP 500 error when user tries to login from dialog box ### What is this PR for? Please look at ZEPPELIN-1145 for detailed steps to reproduce this issue. ### What type of PR is it? Bug Fix ### What is the Jira issue? ZEPPELIN-1145 ### How should this be tested? Follow the steps in ZEPPELIN-1145 ### Questions: * Does the licenses files need update? n/a * Is there breaking changes for older versions? n/a * Does this needs documentation? n/a Author: Renjith Kamath <[email protected]> Closes #1156 from r-kamath/ZEPPELIN-1145 and squashes the following commits: d9c730e [Renjith Kamath] ZEPPELIN-1145 Zeppelin UI fails to load page with HTTP 500 error when user tries to login from dialog box Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/512f0526 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/512f0526 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/512f0526 Branch: refs/heads/master Commit: 512f0526062ff4204448b76c9b17fbf247138591 Parents: d87f2e5 Author: Renjith Kamath <[email protected]> Authored: Sat Jul 9 12:09:25 2016 +0530 Committer: Prabhjyot Singh <[email protected]> Committed: Mon Jul 11 20:17:05 2016 +0530 ---------------------------------------------------------------------- zeppelin-web/src/app/notebook/notebook.controller.js | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/512f0526/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 97b35f0..7e0bd7e 100644 --- a/zeppelin-web/src/app/notebook/notebook.controller.js +++ b/zeppelin-web/src/app/notebook/notebook.controller.js @@ -93,6 +93,10 @@ angular.module('zeppelinWebApp').controller('NotebookCtrl', function($scope, $ro $('html, body').scrollTo({top: top, left: 0}); } + // force notebook reload on user change + $scope.$on('setNoteMenu', function(event, note) { + initNotebook(); + }); }, 1000 );
