• Adam

    (@adamodwyer)


    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)
  • hello,

    I have exactly the same problem and obviously I’m not alone!
    Is anybody going to answer our questions?
    thank you

    Counting me makes three. I’m having the same issue using WP3.1.2

    And still no one to give the solution!
    But where lies the developer?

    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.]

    Merci !

    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.