You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Cannot read property 'library' of undefined
at Object.showArtist (http://localhost:6681/musicbox_webclient/js/library.js:281:19)
at locationHashChanged (http://localhost:6681/musicbox_webclient/js/gui.js:402:25)
at Object.trigger (http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:3:11522)
at http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:3:18895
at Function.each (http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:2:2881)
at n.fn.init.each (http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:2:846)
at n.fn.init.trigger (http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:3:18871)
at n.fn.init.a.fn.(anonymous function) [as hashchange] (http://localhost:6681/musicbox_webclient/vendors/jquery_mobile/jquery.mobile-1.3.2.min.js:2:13015)
at HTMLDocument.<anonymous> (http://localhost:6681/musicbox_webclient/js/gui.js:437:15)
at i (http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:2:27451)
at Object.fireWith [as resolveWith] (http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:2:28215)
at Function.ready (http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:2:30008)
at HTMLDocument.K (http://localhost:6681/musicbox_webclient/vendors/jquery/jquery-1.12.0.min.js:2:30370)
Steps to reproduce:
Navigate to an Artist or Album listing by selecting "Show artist"/"Show album" from the popup menu or from the search results.
Refresh the page
Have not looked to see when this was introduced. Not sure of the best way to fix it either. My first guess would be to track the connection state via an isConnected variable and check it before trying to access mopidy.library in showArtist and showAlbum. There is probably a more elegant way...
The text was updated successfully, but these errors were encountered:
jcass77
added a commit
to jcass77/Mopidy-MusicBox-Webclient
that referenced
this issue
Feb 18, 2017
Steps to reproduce:
Have not looked to see when this was introduced. Not sure of the best way to fix it either. My first guess would be to track the connection state via an
isConnected
variable and check it before trying to accessmopidy.library
inshowArtist
andshowAlbum
. There is probably a more elegant way...The text was updated successfully, but these errors were encountered: