From f2e2f4c19c0b41309d313edddd1d242769ce3e82 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 10 Jul 2014 17:50:49 +0000 Subject: [PATCH] Avoid JS errors after [29057]. See #24716. git-svn-id: https://develop.svn.wordpress.org/trunk@29069 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/media-grid.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/js/media-grid.js b/src/wp-includes/js/media-grid.js index 512437f2f0..590cf2c5ca 100644 --- a/src/wp-includes/js/media-grid.js +++ b/src/wp-includes/js/media-grid.js @@ -244,9 +244,9 @@ // Create a new EditAttachment frame, passing along the library and the attachment model. this.editAttachmentFrame = new media.view.Frame.EditAttachments({ - router: this.gridRouter, - library: library, - model: model + gridRouter: this.gridRouter, + library: library, + model: model }); // Listen to events on the edit attachment frame for triggering pagination callback handlers.