Skip to content

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

Description

@justdan23

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions