Skip to content

Commit 251cf75

Browse files
committed
fix to forward at import and index steps
Adding a little async to make it work again. Thanks, @vabarbosa
1 parent 621416a commit 251cf75

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

public/js/seams.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ seamsApp.controller('seamsController', ['$scope', '$route', '$routeParams', '$lo
131131
}
132132
});
133133
};
134-
134+
135135
$scope.$root.fetchRemoteFile = function(fileUrl) {
136136
if (fileUrl) {
137137
$('#remoteFileError').html("");
@@ -575,9 +575,11 @@ seamsApp.controller('seamsController', ['$scope', '$route', '$routeParams', '$lo
575575
});
576576
};
577577

578-
$scope.$root.goToNextPage = function(page) {
579-
$location.path(page);
580-
};
578+
$scope.$root.goToNextPage = function(page) {
579+
$scope.$root.$applyAsync(function() {
580+
$location.path(page);
581+
});
582+
};
581583

582584
$scope.$root.getSettings();
583585

@@ -603,7 +605,7 @@ seamsApp.controller('seamsController', ['$scope', '$route', '$routeParams', '$lo
603605
}
604606
}
605607
};
606-
608+
607609
$scope.clearSearch = function() {
608610
$('#q').val('*:*');
609611
$scope.search();

0 commit comments

Comments
 (0)