I don't use the according plugin but I do put all my jQuery and jQuery plugins in one file and repack them. So thanks for the info...
On Apr 22, 5:53 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > I had to do some customizing of the Interface code and in the process of > re-packing the source code with Dean Edwards latest Packer code, I came > across a problem in the accordion.js code. > > When packing the code the el.accordionCfg.currentPanel is undefined when > first initialized. The problem appears to be related to something the Base62 > encoding is doing, but I thought I'd share my fix. > > What I did is add a check for the el.accordionCfg.currentPanel and if it's > undefined, use the value of 0. Here's a code snippet. I just thought I'd > share the fix in case anyone tries packing the code up like I did. > > .bind( > 'click', > function(e) > { > // fix for packer > el.accordionCfg.currentPanel = > el.accordionCfg.currentPanel||0; > if (el.accordionCfg.currentPanel == this.accordionPos) > return; > > // rest of code > > -Dan