Changeset 29831
- Timestamp:
- 10/03/2014 06:42:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r29813 r29831 4841 4841 this.details( this.model, this.controller.state().get('selection') ); 4842 4842 } 4843 4844 this.listenTo( this.controller, 'attachment:compat:waiting attachment:compat:ready', this.updateSave ); 4843 4845 }, 4844 4846 /** … … 6909 6911 }); 6910 6912 6911 this.model.saveCompat( data ); 6913 this.controller.trigger( 'attachment:compat:waiting', ['waiting'] ); 6914 this.model.saveCompat( data ).always( _.bind( this.postSave, this ) ); 6915 }, 6916 6917 postSave: function() { 6918 this.controller.trigger( 'attachment:compat:ready', ['ready'] ); 6912 6919 } 6913 6920 });
Note: See TracChangeset
for help on using the changeset viewer.