|  | 
| 202 | 202 | 		} | 
| 203 | 203 | 	}; | 
| 204 | 204 | 
 | 
|  | 205 | +	/** | 
|  | 206 | +	 * @param {string} sKey | 
|  | 207 | +	 */ | 
|  | 208 | +	AbstractApp.prototype.setClientSideToken = function (sKey) | 
|  | 209 | +	{ | 
|  | 210 | +		if (window.__rlah_set) | 
|  | 211 | +		{ | 
|  | 212 | +			window.__rlah_set(sKey); | 
|  | 213 | + | 
|  | 214 | +			require('Storage/Settings').settingsSet('AuthAccountHash', sKey); | 
|  | 215 | +			require('Common/Links').populateAuthSuffix(); | 
|  | 216 | +		} | 
|  | 217 | +	}; | 
|  | 218 | + | 
| 205 | 219 | 	/** | 
| 206 | 220 | 	 * @param {boolean=} bAdmin = false | 
| 207 | 221 | 	 * @param {boolean=} bLogout = false | 
|  | 
| 269 | 283 | 
 | 
| 270 | 284 | 	AbstractApp.prototype.bootstart = function () | 
| 271 | 285 | 	{ | 
|  | 286 | +		Utils.log('Ps' + 'ss, hac' + 'kers! The' + 're\'s not' + 'hing inte' + 'resting :' + ')'); | 
|  | 287 | + | 
| 272 | 288 | 		Events.pub('rl.bootstart'); | 
| 273 | 289 | 
 | 
| 274 | 290 | 		var | 
|  | 
| 279 | 295 | 		ko.components.register('SaveTrigger', require('Component/SaveTrigger')); | 
| 280 | 296 | 		ko.components.register('Input', require('Component/Input')); | 
| 281 | 297 | 		ko.components.register('Select', require('Component/Select')); | 
| 282 |  | -		ko.components.register('TextArea', require('Component/TextArea')); | 
| 283 | 298 | 		ko.components.register('Radio', require('Component/Radio')); | 
|  | 299 | +		ko.components.register('TextArea', require('Component/TextArea')); | 
| 284 | 300 | 
 | 
| 285 | 301 | 		ko.components.register('x-script', require('Component/Script')); | 
|  | 302 | +		ko.components.register('svg-icon', require('Component/SvgIcon')); | 
| 286 | 303 | 
 | 
| 287 |  | -		if (Settings.settingsGet('MaterialDesign') && Globals.bAnimationSupported) | 
|  | 304 | +		if (/**false && /**/Settings.settingsGet('MaterialDesign') && Globals.bAnimationSupported) | 
| 288 | 305 | 		{ | 
| 289 | 306 | 			ko.components.register('Checkbox', require('Component/MaterialDesign/Checkbox')); | 
|  | 307 | +			ko.components.register('CheckboxSimple', require('Component/Checkbox')); | 
| 290 | 308 | 		} | 
| 291 | 309 | 		else | 
| 292 | 310 | 		{ | 
| 293 | 311 | //			ko.components.register('Checkbox', require('Component/Classic/Checkbox')); | 
|  | 312 | +//			ko.components.register('CheckboxSimple', require('Component/Classic/Checkbox')); | 
| 294 | 313 | 			ko.components.register('Checkbox', require('Component/Checkbox')); | 
|  | 314 | +			ko.components.register('CheckboxSimple', require('Component/Checkbox')); | 
| 295 | 315 | 		} | 
| 296 | 316 | 
 | 
| 297 | 317 | 		Translator.initOnStartOrLangChange(Translator.initNotificationLanguage, Translator); | 
|  | 
| 358 | 378 | 			Globals.$html.toggleClass('rl-left-panel-disabled', bValue); | 
| 359 | 379 | 		}); | 
| 360 | 380 | 
 | 
|  | 381 | +		Globals.leftPanelType.subscribe(function (sValue) { | 
|  | 382 | +			Globals.$html.toggleClass('rl-left-panel-none', 'none' === sValue); | 
|  | 383 | +			Globals.$html.toggleClass('rl-left-panel-short', 'short' === sValue); | 
|  | 384 | +		}); | 
|  | 385 | + | 
| 361 | 386 | 		ssm.ready(); | 
| 362 | 387 | 
 | 
| 363 | 388 | 		require('Stores/Language').populate(); | 
|  | 
0 commit comments