Skip to content

Commit 19aca90

Browse files
committed
JBDS-4502 Detection ends without hiding spinner
1 parent dbe74bc commit 19aca90

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

browser/pages/confirm/controller.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ConfirmController {
5757

5858
$scope.$on('$destroy', ()=>{
5959
restoreMenu();
60-
})
60+
});
6161

6262
$scope.isConfigurationValid = this.isConfigurationValid;
6363

@@ -221,9 +221,9 @@ class ConfirmController {
221221

222222
setIsDisabled() {
223223
// Uncomment the timeout to see the initial disabled view.
224-
this.timeout( () => {
224+
this.timeout(() => {
225225
// Switch this boolean flag when the app is done looking for existing installations.
226-
this.isDisabled = !this.isDisabled;
226+
this.isDisabled = false;
227227
this.numberOfExistingInstallations = 0;
228228
// Count the number of existing installations.
229229
for (var [, value] of this.installerDataSvc.allInstallables()) {
@@ -239,10 +239,7 @@ class ConfirmController {
239239
} else {
240240
this.installedSearchNote = '';
241241
}
242-
243-
// Call the digest cycle so that the view gets updated.
244-
this.sc.$apply();
245-
});
242+
}, true);
246243
}
247244

248245
isConfigurationValid() {

0 commit comments

Comments
 (0)