Changeset 31343
- Timestamp:
- 02/05/2015 08:11:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/mce-view.js
r30694 r31343 559 559 560 560 frame.state('gallery-edit').on( 'update', function( selection ) { 561 var shortcode = gallery.shortcode( selection ).string() , force;561 var shortcode = gallery.shortcode( selection ).string(); 562 562 $( node ).attr( 'data-wpview-text', window.encodeURIComponent( shortcode ) ); 563 force = ( data !== shortcode ); 564 wp.mce.views.refreshView( self, shortcode, force ); 563 wp.mce.views.refreshView( self, shortcode, true ); 565 564 }); 566 565
Note: See TracChangeset
for help on using the changeset viewer.