File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( ) {
You can’t perform that action at this time.
0 commit comments