Skip to content

Commit

Permalink
make sure the editor knows if featured media has been set when it is …
Browse files Browse the repository at this point in the history
…closed
  • Loading branch information
rnagle committed Jan 16, 2015
1 parent 462278a commit 8f3086e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/featured-media.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ var LFM = _.extend(LFM || {}, {
success: function() {
self.hideSpinner();
$('#set-featured-media-button').text('Edit Featured Media');
LFM.has_featured_media = true;
LFM.instances.modal.close();
}
});
Expand Down

0 comments on commit 8f3086e

Please sign in to comment.