title: jquery ui layout close side pane not working properly
body: <p>I'm using jQuery UI Layout Plug-in in my code. I have created 3 panes namely west,center &amp; east pane. In center pane, i have added 2 canvas element, the first canvas element contains a circle drawn on it &amp; the second canvas element is empty.</p>
  
  <p>At the time when the document is ready, the following code would be executed with the west &amp; center pane to be open and east pane to be closed.</p>
  
  <pre><code>$(document).ready(function () {
  myLayout = $("body").layout({ applyDemoStyles: true });
  myLayout.close('east');
  });
  </code></pre>
  
  <p>Now, on clicking the 1st canvas with a circle drawn on it, my east pane gets open with the east pane to be enabled. And on clicking the empty canvas my east pane gets closed with the pane to be disabled, so that while clicking on the east pane it wont get open further as the pane is disabled.</p>
  
  <p>For the empty canvas following code is written-</p>
  
  <pre><code>myLayout.close('east');
  myLayout.disableClosable('east');
  </code></pre>
  
  <p>and for the canvas with circle drawn following code is written-</p>
  
  <pre><code>myLayout.open('east');
  myLayout.enableClosable('east');
  </code></pre>
  
  <p>First when the empty canvas is clicked, and after that we clicked on the canvas with circle drawn, my east pane is open with the east pane to be enabled. Now when we move our cursor to east pane, a hand shaped symbol comes which says that it is enabled.
  When we click on east pane, it wont close the east pane-which is causing an issue.</p>
  
  <p>Generally clicking on east pane it should be close/open.</p>
  
  <p>I searched a lot but didnt got a proper solution.
  have seen this site too - <a href="http://layout.jquery-dev.com/demos/layout_methods.html" rel="nofollow">http://layout.jquery-dev.com/demos/layout_methods.html</a></p>