mherger wrote: 
> >
> But I think I've found the trigger: if the language file is received 
> after the menu has been created, the list is being wiped. The language 
> file download would trigger "langChanged", which in turn would cause 
> "initItems" to be called - which wipes the current menu.

D'oh!!!! Yup, I'm 99.999999% that's it. It also explains why I never see
it happen. Changing (line 397):


Code:
--------------------
    
  this.serverTop=[this.top[0]];
  
--------------------


To


Code:
--------------------
    
  if (undefined!=this.serverTop && this.serverTop.length>0) {
  this.serverTop[0]=this.top[0];
  } else {
  this.serverTop=[this.top[0]];
  }
  
--------------------


Should resolve the issue. All this does is initialise the translation of
"My Music"


------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to