forked from mirrors/gecko-dev
		
	Bug 1232600 - make showInstallScreen global. r=fabrice
				
					
				
			This commit is contained in:
		
							parent
							
								
									0574f8b1ec
								
							
						
					
					
						commit
						2930fb1d42
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -1391,6 +1391,8 @@ Services.obs.addObserver(function resetProfile(subject, topic, data) { | ||||||
|   appStartup.quit(Ci.nsIAppStartup.eForceQuit); |   appStartup.quit(Ci.nsIAppStartup.eForceQuit); | ||||||
| }, 'b2g-reset-profile', false); | }, 'b2g-reset-profile', false); | ||||||
| 
 | 
 | ||||||
|  | var showInstallScreen; | ||||||
|  | 
 | ||||||
| if (AppConstants.MOZ_GRAPHENE) { | if (AppConstants.MOZ_GRAPHENE) { | ||||||
|   const restoreWindowGeometry = () => { |   const restoreWindowGeometry = () => { | ||||||
|     let screenX = Services.prefs.getIntPref("b2g.nativeWindowGeometry.screenX"); |     let screenX = Services.prefs.getIntPref("b2g.nativeWindowGeometry.screenX"); | ||||||
|  | @ -1428,7 +1430,7 @@ if (AppConstants.MOZ_GRAPHENE) { | ||||||
|   const showNativeWindow = () => baseWindow.visibility = true; |   const showNativeWindow = () => baseWindow.visibility = true; | ||||||
|   const hideNativeWindow = () => baseWindow.visibility = false; |   const hideNativeWindow = () => baseWindow.visibility = false; | ||||||
| 
 | 
 | ||||||
|   const showInstallScreen = () => { |   showInstallScreen = () => { | ||||||
|     const grapheneStrings = |     const grapheneStrings = | ||||||
|       Services.strings.createBundle('chrome://b2g-l10n/locale/graphene.properties'); |       Services.strings.createBundle('chrome://b2g-l10n/locale/graphene.properties'); | ||||||
|     document.querySelector('#installing > .message').textContent = |     document.querySelector('#installing > .message').textContent = | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Paul Rouget
						Paul Rouget