Commit 9c482f86 authored by annikaC's avatar annikaC Committed by joseph.olstad

Issue #2933390 by annikaC: "Edit file" in Media Browser should return to Media Browser

parent 1cd77ffa
......@@ -180,6 +180,7 @@ function media_wysiwyg_format_form_view_mode(&$form, $form_state, $file) {
'class' => 'button',
'title' => t('Use for replace fox or edit file fields.'),
'query' => drupal_get_destination(),
if (!empty($_GET['render'])) {
$link_options['query']['render'] = $_GET['render'];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment