Media: Convert the attachments browser view's destroy method to the newer dispose method. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ff204257db
commit
795ba27d10
|
@ -2550,10 +2550,10 @@
|
|||
});
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this.remove();
|
||||
dispose: function() {
|
||||
this.toolbar.destroy();
|
||||
this.attachments.destroy();
|
||||
media.View.prototype.dispose.apply( this, arguments );
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
|
Loading…
Reference in New Issue