mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 13:23:40 +01:00
Themes: We no longer have a delete link on the multi-grid view. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26514 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e3d4717077
commit
c6e661e84d
@ -114,6 +114,7 @@ themes.Collection = Backbone.Collection.extend({
|
||||
// Trigger an 'update' event
|
||||
this.trigger( 'update' );
|
||||
},
|
||||
|
||||
// Performs a search within the collection
|
||||
// @uses RegExp
|
||||
search: function( term ) {
|
||||
@ -207,7 +208,7 @@ themes.view.Theme = wp.Backbone.View.extend({
|
||||
|
||||
// Prevent the modal from showing when the user clicks
|
||||
// one of the direct action buttons
|
||||
if ( $( event.target ).is( '.theme-actions a, .delete-theme' ) ) {
|
||||
if ( $( event.target ).is( '.theme-actions a' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user