> Error: Ext.EventManager is not an object

Could you please give the following change a try?


Code:
--------------------
    Index: /Users/mh/Documents/workspace/trunk/server/HTML/Default/index.html
  ===================================================================
  --- /Users/mh/Documents/workspace/trunk/server/HTML/Default/index.html        
(revision 13356)
  +++ /Users/mh/Documents/workspace/trunk/server/HTML/Default/index.html        
(working copy)
  @@ -57,8 +57,11 @@
                        strings['clear_playlist']  = "[% "CLEAR" | string %]";
                        strings['save']  = "[% "SAVE" | string %]";
  
  -
  -                     Ext.EventManager.onDocumentReady(Main.init, Main, true);
  +                     try { Ext.EventManager.onDocumentReady(Main.init, Main, 
true); }
  +                     catch(e) {
  +                             
document.getElementById('loading').style.display = 'none';
  +                             document.getElementById('noJS').style.display = 
'block';
  +                     }
                </script>
  
--------------------


This is wrapping the first call to ExtJS specific code and would
display a message on failure.


-- 
mherger

Michael

-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=38755

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

Reply via email to