Changeset 45841
- Timestamp:
- 08/19/2019 04:33:43 AM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/src/js/media/views/attachments/browser.js
r45147 r45841 190 190 text: mediaTrash ? l10n.trashSelected : l10n.deletePermanently, 191 191 controller: this.controller, 192 priority: - 60,192 priority: -80, 193 193 click: function() { 194 194 var changed = [], removed = [], … … 246 246 this.toolbar.set( 'deleteSelectedPermanentlyButton', new wp.media.view.DeleteSelectedPermanentlyButton({ 247 247 filters: Filters, 248 style: ' primary',248 style: 'link button-link-delete', 249 249 disabled: true, 250 250 text: l10n.deletePermanently, -
branches/5.2/src/js/media/views/button/delete-selected.js
r45147 r45841 23 23 } 24 24 this.controller.on( 'selection:toggle', this.toggleDisabled, this ); 25 this.controller.on( 'select:activate', this.toggleDisabled, this ); 25 26 }, 26 27 -
branches/5.2/src/wp-includes/css/buttons.css
r45509 r45841 225 225 .wp-core-ui .button-link-delete:focus { 226 226 color: #dc3232; 227 background: transparent; 228 } 229 230 .wp-core-ui .button-link-delete:disabled { 231 /* overrides the default buttons disabled background */ 232 background: transparent !important; 227 233 } 228 234
Note: See TracChangeset
for help on using the changeset viewer.