X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/examples/layout-browser/layouts/basic.js diff --git a/examples/layout-browser/layouts/basic.js b/examples/layout-browser/layouts/basic.js index 51819b8b..1f2708fe 100644 --- a/examples/layout-browser/layouts/basic.js +++ b/examples/layout-browser/layouts/basic.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.1.1 - * Copyright(c) 2006-2010 Ext JS, LLC + * Ext JS Library 3.2.1 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ @@ -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);