-/*\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.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
Ext.ux.Portal = Ext.extend(Ext.Panel, {\r
- layout: 'column',\r
- autoScroll:true,\r
- cls:'x-portal',\r
- defaultType: 'portalcolumn',\r
+ layout : 'column',\r
+ autoScroll : true,\r
+ cls : 'x-portal',\r
+ defaultType : 'portalcolumn',\r
\r
initComponent : function(){\r
Ext.ux.Portal.superclass.initComponent.call(this);\r
this.dd = new Ext.ux.Portal.DropZone(this, this.dropConfig);\r
},\r
\r
- beforeDestroy: function() {\r
+ beforeDestroy : function() {\r
if(this.dd){\r
this.dd.unreg();\r
}\r
Ext.ux.Portal.superclass.beforeDestroy.call(this);\r
}\r
});\r
+\r
Ext.reg('portal', Ext.ux.Portal);\r
\r
\r