Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / examples / ux / SearchField.js
similarity index 80%
rename from examples/form/SearchField.js
rename to examples/ux/SearchField.js
index b89f07b..0d58e94 100644 (file)
@@ -1,14 +1,14 @@
-/*\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
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+Ext.ns('Ext.ux.form');\r
 \r
-Ext.app.SearchField = Ext.extend(Ext.form.TwinTriggerField, {\r
+Ext.ux.form.SearchField = Ext.extend(Ext.form.TwinTriggerField, {\r
     initComponent : function(){\r
-        Ext.app.SearchField.superclass.initComponent.call(this);\r
+        Ext.ux.form.SearchField.superclass.initComponent.call(this);\r
         this.on('specialkey', function(f, e){\r
             if(e.getKey() == e.ENTER){\r
                 this.onTrigger2Click();\r