Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git] / src / widgets / Viewport.js
index 1adca11..172efae 100644 (file)
@@ -1,6 +1,6 @@
 /*!
- * Ext JS Library 3.1.0
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.1.1
+ * Copyright(c) 2006-2010 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
@@ -119,7 +119,7 @@ Ext.Viewport = Ext.extend(Ext.Container, {
     },\r
 \r
     fireResize : function(w, h){\r
-        this.onResize(w, h, w, h);\r
+        this.fireEvent('resize', this, w, h, w, h);\r
     }\r
 });\r
 Ext.reg('viewport', Ext.Viewport);\r