Widgets Interface - JavaScript Init (1 post)

  1. Brandon Dove
    Posted 7 years ago #

    I've just updated the RSS Icon Widget to 2.8 but I ran into a problem with the dynamic creation of widget controls. The problem I'm having is that since I'm using Farbtastic as an input, it's not being initialized when the widget gets created, instead Farbtastic is initialized at $(document).ready.

    I'm trying to figure out if there is a way to initialize each widget instance in the sidebar when it is dropped into the sidebar area. The widget works once it has been saved once, but that sucks. Anyone know enough about what's going on in the drag/drop of the widget interface to help me tie my Farbtastic initialization code into it?


Topic Closed

This topic has been closed to new replies.

About this Topic