Media: Allow successive embed URLs. see [22547], #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2d87f983ad
commit
1ec12cccb9
|
@ -556,7 +556,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
reset: function() {
|
reset: function() {
|
||||||
_.each( _.without( _.keys( this.attributes ), _.keys( this.defaults ) ), function( key ) {
|
_.each( _.difference( _.keys( this.attributes ), _.keys( this.defaults ) ), function( key ) {
|
||||||
this.unset( key );
|
this.unset( key );
|
||||||
}, this );
|
}, this );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue