Skip to content

Commit

Permalink
Fixes #617 (#621)
Browse files Browse the repository at this point in the history
Signed-off-by: shiv12095 <[email protected]>
  • Loading branch information
shiv12095 authored and aedelmann committed Jun 20, 2017
1 parent 7da8cb6 commit 7664fcc
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ define(["../init/AppController"], function(controllers) {
$scope.selectedEditor = $scope.editors[$scope.selectedTabIndex];
$scope.clearSearch();
$scope.isEditorOpen = true;
// $scope.$apply();
});
}

Expand Down Expand Up @@ -492,7 +491,7 @@ define(["../init/AppController"], function(controllers) {
});
}

$scope.addXtextEditor = function(parentId, model) {
$scope.addXtextEditor = function(model) {
$scope.createEditor(model).then(function(editor){
$scope.editors.push(editor);
$scope.selectedEditor = $scope.editors[$scope.selectedTabIndex];
Expand All @@ -505,7 +504,6 @@ define(["../init/AppController"], function(controllers) {
$scope.addResource(tab);
$scope.selectTab($scope.selectedTabIndex);
$scope.isEditorOpen = true;
// $scope.$apply();
});
}

Expand Down

0 comments on commit 7664fcc

Please sign in to comment.