Revert "Clean up $scope usage"
This reverts commit 71749301d9
.
This fix occurs degradation.
Change-Id: I4889fb7337aab6d00402f640d255b3435122dede
This commit is contained in:
parent
71749301d9
commit
8dcfc952bb
@ -60,12 +60,14 @@
|
||||
|
||||
function initScope($scope) {
|
||||
scope = $scope;
|
||||
scope.workflow = createWorkflow;
|
||||
scope.model = model;
|
||||
scope.$on('$destroy', function() {
|
||||
});
|
||||
}
|
||||
|
||||
function perform() {
|
||||
model.init();
|
||||
scope.model.init();
|
||||
return wizardModalService.modal({
|
||||
scope: scope,
|
||||
workflow: createWorkflow,
|
||||
|
@ -59,12 +59,14 @@
|
||||
|
||||
function initScope($scope) {
|
||||
scope = $scope;
|
||||
scope.workflow = createWorkflow;
|
||||
scope.model = model;
|
||||
scope.$on('$destroy', function() {
|
||||
});
|
||||
}
|
||||
|
||||
function perform(selected) {
|
||||
model.init();
|
||||
scope.model.init();
|
||||
scope.selected = selected;
|
||||
return wizardModalService.modal({
|
||||
scope: scope,
|
||||
|
Loading…
Reference in New Issue
Block a user