[wp-trac] [WordPress Trac] #19587: WordPress widget admin bug (was: Wordpress widget admin bug)
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 17 15:54:05 UTC 2011
#19587: WordPress widget admin bug
--------------------------+------------------------------
Reporter: ciprian_vb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version:
Severity: blocker | Resolution:
Keywords: |
--------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> Hi,
> When a new widget is added to the sidebar, the javascript does not load
> for that widget. for example, if I just installed a plugin like
> iCalendar Events Widget or live countdown timer (bare with me, it's not
> the plugin that's faulty and I'll tell you why) and after installation I
> want to add it to the sidebar, I go to the widgets area under
> prefferences and drag and drop it.
>
> '''The bug is this:''' untill I refresh the page, the jquery won't work
> for anything in that widget. Both of the plugins mentioned above have a
> datepicker (from jquery-ui-core) popup that shows once a textbox or
> button is clicked. if the widget has just been added, the jquery that's
> supposed to run and show the calendars does not work until the page is
> refreshed.
>
> I received a "not working" status because of this and people complained
> that my plugin (live countdown timer) is broken. On further
> investigation, I found out that it was because wordpress is not loading
> the javascript when first adding the widget in the sidebar and a refresh
> is required.
New description:
Hi,
When a new widget is added to the sidebar, the javascript does not load
for that widget. for example, if I just installed a plugin like iCalendar
Events Widget or live countdown timer (bare with me, it's not the plugin
that's faulty and I'll tell you why) and after installation I want to add
it to the sidebar, I go to the widgets area under prefferences and drag
and drop it.
'''The bug is this:''' untill I refresh the page, the jquery won't work
for anything in that widget. Both of the plugins mentioned above have a
datepicker (from jquery-ui-core) popup that shows once a textbox or button
is clicked. if the widget has just been added, the jquery that's supposed
to run and show the calendars does not work until the page is refreshed.
I received a "not working" status because of this and people complained
that my plugin (live countdown timer) is broken. On further investigation,
I found out that it was because !WordPress is not loading the javascript
when first adding the widget in the sidebar and a refresh is required.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19587#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list