• Resolved kevinstalder

    (@kevinstalder)


    Hello,

    I seem to be getting some errors while trying to drag a widget into a customizable sidebar when using wp-page-widget plugin. This might be just an issue on chrome.

    When I drag the image widget(http://wordpress.org/extend/plugins/image-widget/) into a sidebar, I noticed using chrome’s inspector that I am getting the following error.

    Uncaught Error: cannot call methods on draggable prior to initialization; attempted to call method ‘destroy’. It seems to be having an issue with line 105 on the page-widget.js file.

    When I try adding an image into the image widget no image gets inserted into the widget. When inspecting the HTML I see the following

    <input type=”submit” class=”button” name=”widget-widget_sp_image[__i__][uploader_button]” id=”widget-widget_sp_image-__i__-uploader_button” value=”Select an Image” onclick=”imageWidget.uploader( ‘widget_sp_image-__i__’, ‘widget-widget_sp_image-__i__-‘ ); return false;”>

    The i should be replaced with a #.

    Any idea what the issue could be?

    http://wordpress.org/extend/plugins/wp-page-widget/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Getting a JS error when dragging widget into a customizable sidbar’ is closed to new replies.