mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Merge remote-tracking branch 'origin/master' into livyInterperter
This commit is contained in:
commit
ff3c4eddef
1 changed files with 6 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ angular.module('zeppelinWebApp')
|
|||
angular.element('#p' + $scope.paragraph.id + '_text').bind('mousewheel', function(e) {
|
||||
$scope.keepScrollDown = false;
|
||||
});
|
||||
|
||||
$scope.flushStreamingOutput = true;
|
||||
} else {
|
||||
$timeout(retryRenderer, 10);
|
||||
}
|
||||
|
|
@ -445,13 +445,17 @@ angular.module('zeppelinWebApp')
|
|||
|
||||
$scope.$on('appendParagraphOutput', function(event, data) {
|
||||
if ($scope.paragraph.id === data.paragraphId) {
|
||||
if ($scope.flushStreamingOutput) {
|
||||
$scope.clearTextOutput();
|
||||
$scope.flushStreamingOutput = false;
|
||||
}
|
||||
$scope.appendTextOutput(data.data);
|
||||
}
|
||||
});
|
||||
|
||||
$scope.$on('updateParagraphOutput', function(event, data) {
|
||||
if ($scope.paragraph.id === data.paragraphId) {
|
||||
$scope.clearTextOutput(data.data);
|
||||
$scope.clearTextOutput();
|
||||
$scope.appendTextOutput(data.data);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue