layout icon indicating copy to clipboard operation
layout copied to clipboard

Button Addon: inst.state[pane] is undefinined during _load() when called from layout()

Open justdan23 opened this issue 8 years ago • 0 comments

When using jquery.layout 1.4.3, upon initial page load on Firefox 38.6 or later, the _load() method within the jquery.layout.buttons.js is caught by Firefox 38.6 with Firebug 2.0.19 as having an undefined 'inst.state[pane]'.

The 'pane' value is 'n' in my scenario and there isn't a code path from calling 'layout()' on the main jquery.layout which initializes the inst.state[pane] properly.

Note: Firefox + Firebug cause this where Chome and IE didn't.

inst.state[pane].pins = []; File: jquery.layout-143_and_plugins.js Line: 5886

justdan23 avatar Jan 22 '18 21:01 justdan23