Title: [Plugin: Page Layout] Edit widget bug
Last modified: August 19, 2016

---

# [Plugin: Page Layout] Edit widget bug

 *  [Adam](https://wordpress.org/support/users/adamodwyer/)
 * (@adamodwyer)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-page-layout-edit-widget-bug/)
 * Seems to be a bug when using the plugin (0.3) with WP 3.1 – Editing a Page with
   Page Layout enabled: when clicking the down arrow (widget-title-action) drop-
   down panel for an in-place widget the box opens but then immediately closes, 
   preventing the user from editing it.
 * I disabled all other plugins, so think it’s the version of WordPress – it was
   working before I upgraded on WP3.0.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [wojtko](https://wordpress.org/support/users/wojtko/)
 * (@wojtko)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-page-layout-edit-widget-bug/#post-1952958)
 * hello,
 * I have exactly the same problem and obviously I’m not alone!
    Is anybody going
   to answer our questions? thank you
 *  [redpenguin](https://wordpress.org/support/users/redpenguin/)
 * (@redpenguin)
 * [15 years ago](https://wordpress.org/support/topic/plugin-page-layout-edit-widget-bug/#post-1953007)
 * Counting me makes three. I’m having the same issue using WP3.1.2
 *  [wojtko](https://wordpress.org/support/users/wojtko/)
 * (@wojtko)
 * [15 years ago](https://wordpress.org/support/topic/plugin-page-layout-edit-widget-bug/#post-1953008)
 * And still no one to give the solution!
    But where lies the developer?
 *  [manuelv](https://wordpress.org/support/users/manuelv/)
 * (@manuelv)
 * [15 years ago](https://wordpress.org/support/topic/plugin-page-layout-edit-widget-bug/#post-1953009)
 * the problem is in page-layout/js/widget.js
 * line :
 *     ```
       $('a.widget-action').live('click', function(){
   
       easy patch for the moment is , replace code function by :
   
       $('a.widget-action').live('click', function(){
       	var css = {}, widget = $(this).closest('div.widget'), inside = widget.children('.widget-inside'), w = parseInt( widget.find('input.widget-width').val(), 10 );
   
       			if ( w > 250 && inside.closest('div.widgets-sortables').length ) {
       					css['width'] = w + 30 + 'px';
       					if ( inside.closest('div.widget-liquid-right').length )
       						css['marginLeft'] = 235 - w + 'px';
       					widget.css(css);
       				}
       				wpWidgets.fixLabels(widget);
       				inside.slideDown('fast');
   
       			return false;
       		});
       ```
   
 * _[Please post code snippets between backticks or use the code button.]_
 *  [wojtko](https://wordpress.org/support/users/wojtko/)
 * (@wojtko)
 * [15 years ago](https://wordpress.org/support/topic/plugin-page-layout-edit-widget-bug/#post-1953010)
 * Merci !
 *  [redpenguin](https://wordpress.org/support/users/redpenguin/)
 * (@redpenguin)
 * [15 years ago](https://wordpress.org/support/topic/plugin-page-layout-edit-widget-bug/#post-1953011)
 * That did it! Thanks manuelv! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Page Layout] Edit widget bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/page-layout.svg)
 * [Page Layout](https://wordpress.org/plugins/page-layout/)
 * [Support Threads](https://wordpress.org/support/plugin/page-layout/)
 * [Active Topics](https://wordpress.org/support/plugin/page-layout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-layout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-layout/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [redpenguin](https://wordpress.org/support/users/redpenguin/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-page-layout-edit-widget-bug/#post-1953011)
 * Status: not resolved