Themes: We no longer have a delete link on the multi-grid view. See #25948

Built from https://develop.svn.wordpress.org/trunk@26514


git-svn-id: http://core.svn.wordpress.org/trunk@26407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2013-12-02 00:55:09 +00:00
parent 707eca46ab
commit 527efd828c
2 changed files with 3 additions and 2 deletions

View File

@ -114,6 +114,7 @@ themes.Collection = Backbone.Collection.extend({
// Trigger an 'update' event // Trigger an 'update' event
this.trigger( 'update' ); this.trigger( 'update' );
}, },
// Performs a search within the collection // Performs a search within the collection
// @uses RegExp // @uses RegExp
search: function( term ) { search: function( term ) {
@ -207,7 +208,7 @@ themes.view.Theme = wp.Backbone.View.extend({
// Prevent the modal from showing when the user clicks // Prevent the modal from showing when the user clicks
// one of the direct action buttons // one of the direct action buttons
if ( $( event.target ).is( '.theme-actions a, .delete-theme' ) ) { if ( $( event.target ).is( '.theme-actions a' ) ) {
return; return;
} }

File diff suppressed because one or more lines are too long