Changeset 24629
- Timestamp:
- 07/10/2013 04:37:50 AM (10 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin-rtl.css
r24595 r24629 1005 1005 } 1006 1006 1007 #restore-revision {1007 .diff-header > input.restore-revision { 1008 1008 margin-left: 0; 1009 1009 margin-right: 10px; -
trunk/wp-admin/css/wp-admin.css
r24595 r24629 3630 3630 } 3631 3631 3632 #restore-revision {3632 .diff-header > input.restore-revision { 3633 3633 margin-left: 10px; 3634 3634 } -
trunk/wp-admin/js/revisions.js
r24627 r24629 463 463 464 464 events: { 465 'click #restore-revision': 'restoreRevision'465 'click .restore-revision': 'restoreRevision' 466 466 }, 467 467 … … 477 477 updateMeta: function( from, to ) { 478 478 this.$el.html( this.template( this.model.toJSON() ) ); 479 480 $('#restore-revision').prop( 'disabled', to.attributes.current ); 479 this.$('.restore-revision').prop( 'disabled', to.attributes.current ); 481 480 } 482 481 }); -
trunk/wp-admin/revision.php
r24604 r24629 177 177 </div> 178 178 179 <input type="button" id="restore-revision" class="button button-primary" data-restore-link="{{{ data.restoreLink }}}" value="<?php esc_attr_e( 'Restore This Revision' )?>" />179 <input type="button" class="restore-revision button button-primary" data-restore-link="{{{ data.restoreLink }}}" value="<?php esc_attr_e( 'Restore This Revision' )?>" /> 180 180 </div> 181 181 </div>
Note: See TracChangeset
for help on using the changeset viewer.