X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..76cb34406ceaf9681a76e13b531d7eafa483ad88:/examples/statusbar/statusbar-advanced.js diff --git a/examples/statusbar/statusbar-advanced.js b/examples/statusbar/statusbar-advanced.js index f848f085..54e3699c 100644 --- a/examples/statusbar/statusbar-advanced.js +++ b/examples/statusbar/statusbar-advanced.js @@ -1,8 +1,14 @@ +/*! + * Ext JS Library 3.0.0 + * Copyright(c) 2006-2009 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ /* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. + * Ext JS Library 2.2 + * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com - * + * * http://extjs.com/license */ @@ -45,7 +51,7 @@ Ext.onReady(function(){ url: 'fake.php', success: function(){ sb.setStatus({ - text:'Form saved!', + text:'Form saved!', iconCls:'', clear: true }); @@ -56,7 +62,7 @@ Ext.onReady(function(){ } }] }); - + new Ext.Panel({ title: 'StatusBar with Integrated Form Validation', renderTo: Ext.getBody(), @@ -64,11 +70,11 @@ Ext.onReady(function(){ autoHeight: true, layout: 'fit', items: fp, - bbar: new Ext.StatusBar({ + bbar: new Ext.ux.StatusBar({ id: 'form-statusbar', defaultText: 'Ready', plugins: new Ext.ux.ValidationStatus({form:'status-form'}) }) }); - + }); \ No newline at end of file