Index: D:/eclipse/slimpy/HTML/Default/html/main.js
===================================================================
--- D:/eclipse/slimpy/HTML/Default/html/main.js (revision 13267)
+++ D:/eclipse/slimpy/HTML/Default/html/main.js (working copy)
@@ -397,13 +397,9 @@
}
}
});
-
- if (el = Ext.get('playlistPanel')) {
- el.getUpdateManager().showLoadIndicator = false;
- }
},
- load : function(url){
+ load : function(url, showIndicator){
// unregister event handlers
Ext.dd.ScrollManager.unregister('playList');
@@ -413,6 +409,9 @@
if (!url)
url = el.getUpdateManager().defaultUrl;
+ if (showIndicator)
+ el.getUpdateManager().showLoadIndicator = true;
+
el.load(
{
url: url || webroot + 'playlist.html?player=' + playerid,
@@ -422,6 +421,8 @@
{},
this.onUpdated
);
+
+ el.getUpdateManager().showLoadIndicator = false;
},
clear : function(){
Index: D:/eclipse/slimpy/HTML/Default/html/utils.js
===================================================================
--- D:/eclipse/slimpy/HTML/Default/html/utils.js (revision 13266)
+++ D:/eclipse/slimpy/HTML/Default/html/utils.js (working copy)
@@ -173,6 +173,7 @@
processPlaylistCommand : function(param) {
this.processRawCommand('/status.html?' + param + 'ajaxRequest=1&force=1', true);
+ parent.Playlist.load(null, true);
},
processRawCommand : function(myUrl, updateStatus) {