X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..e9397f91ede62d446aed37d23256e8938fc4c335:/examples/layout-browser/layouts/basic.js diff --git a/examples/layout-browser/layouts/basic.js b/examples/layout-browser/layouts/basic.js index 51819b8b..4fa3bebb 100644 --- a/examples/layout-browser/layouts/basic.js +++ b/examples/layout-browser/layouts/basic.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.1.1 - * Copyright(c) 2006-2010 Ext JS, LLC - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ // // Note that these are all defined as panel configs, rather than instantiated @@ -188,7 +188,7 @@ var cardTabs = { var cardNav = function(incr){ var l = Ext.getCmp('card-wizard-panel').getLayout(); var i = l.activeItem.id.split('card-')[1]; - var next = parseInt(i) + incr; + var next = parseInt(i, 10) + incr; l.setActiveItem(next); Ext.getCmp('card-prev').setDisabled(next==0); Ext.getCmp('card-next').setDisabled(next==2);