[wp-trac] [WordPress Trac] #19675: Add a jQuery triggers to the widget save action

WordPress Trac noreply at wordpress.org
Wed Apr 2 18:20:03 UTC 2014


#19675: Add a jQuery triggers to the widget save action
---------------------------+-----------------------
 Reporter:  digitalnature  |       Owner:  ocean90
     Type:  enhancement    |      Status:  accepted
 Priority:  normal         |   Milestone:  3.9
Component:  Widgets        |     Version:  3.3
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+-----------------------

Comment (by ocean90):

 In [changeset:"27909"]:
 {{{
 #!CommitTicketReference repository="" revision="27909"
 Widget Customizer: Improve support for dynamically-created inputs.

 * Re-work how and when widget forms get updated.
 * Replace ad hoc hooks system with jQuery events,
 * Add `widget-updated`/`widget-synced` events for widget soft/hard
 updates.
 * Enter into a non-live form update mode, where the Apply button is
 restored when a sanitized form does not have the same fields as currently
 in the form, and so the fields cannot be easily updated to their sanitized
 values without doing a complete form replacement. Also restores live
 update mode if sanitized fields are aligned with the existing fields
 again.

 Note: jQuery events are *not* final yet, see #19675.

 props westonruter.
 see #27491.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19675#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list