-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
+/*!
+ * Ext JS Library 3.0.3
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
MainPanel = function(){\r
this.preview = new Ext.Panel({\r
id: 'preview',\r
\r
movePreview : function(m, pressed){\r
if(!m){ // cycle if not a menu item click\r
- var readMenu = Ext.menu.MenuMgr.get('reading-menu');\r
- readMenu.render();\r
- var items = readMenu.items.items;\r
+ var items = Ext.menu.MenuMgr.get('reading-menu').items.items;\r
var b = items[0], r = items[1], h = items[2];\r
if(b.checked){\r
r.setChecked(true);\r
this.grid.store.data.each(this.openTab, this);\r
this.endUpdate();\r
}\r
-});
\ No newline at end of file
+});\r
+\r
+Ext.reg('appmainpanel', MainPanel);
\ No newline at end of file