 Issue 5653480979038208:
  Issue 2325 - Add a way to set settings in libadblockplus for FRP and automatic updates  (Closed)
    
  
    Issue 5653480979038208:
  Issue 2325 - Add a way to set settings in libadblockplus for FRP and automatic updates  (Closed) 
  | Index: lib/init.js | 
| =================================================================== | 
| --- a/lib/init.js | 
| +++ b/lib/init.js | 
| @@ -33,6 +33,16 @@ | 
| Prefs._initListener = function() | 
| { | 
| prefsInitDone = true; | 
| + | 
| + // Override Prefs to Preconfig | 
| + for (var pref in Preconfig) | 
| + { | 
| + if (Preconfig.hasOwnProperty(pref)) | 
| + { | 
| + Prefs[pref] = Preconfig[pref]; | 
| 
Felix Dahlke
2015/06/09 19:40:51
Rather than always overwriting the prefs, this is
 | 
| + } | 
| + } | 
| + | 
| checkInitialized(); | 
| }; |