WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #14686, comment 8


Ignore:
Timestamp:
12/19/11 10:36:42 (4 years ago)
Author:
dgwyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14686, comment 8

    initial v1  
    1 It's a bit weird that when you first drag a widget into a widget area the 'save-widget' and 'widgets-order' ajax requests are fired, and when you  manually click to save the widget the 'save-widget' ajax request is fired again. 
     1When you first drag a widget into a widget area the 'save-widget' and 'widgets-order' ajax requests are fired, and when you  manually click to save the widget the 'save-widget' ajax request is fired again. 
    22 
    3 If the $this widget object can be set on the FIRST ajax request then there wouldn't be a problem. Just wondering why it only sets $this on the second 'save-widget' ajax response? 
     3However, the widget object is not accessible on the first ajax request. If the widget object could be set on the FIRST ajax request then there wouldn't be a problem. 
     4 
     5Just wondering why it only sets the widget object on the second 'save-widget' ajax response?