Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Running 7.x-2.0-alpha4+25-dev (2015-Feb-11). The submit button does nothing. It doesn't insert the selected image into the document.
Comments
Comment #1
yutia CreditAttribution: yutia commentedSeeing the same issue. it also redirects to homepage.
Here are some additional information :
I have jquery Update set to 1.7 because of the nivoslider.
I get javascript error loading up a media page;
TypeError: $(...).once is not a function @ /media_gallery/media_gallery.dragdrop.js line 7
var $collection = $('.media-gallery-collection', context).once('media-gallery-sortable');
Not sure if the issue that I'm having associated with this, but media browser is not opening up as popup even though /media/browser?render=media-popup shows
Comment #2
candelas CreditAttribution: candelas commentedI have the same problem and I realize that if I click on the label, the image gets selected, but if I click in the a element that surrounds the image, there must be a JavaScript prevent default that makes that it is not selected. I also, with Firebugs, deleted the a element and then I could select the image.
Comment #3
candelas CreditAttribution: candelas commentedComment #4
candelas CreditAttribution: candelas commentedI don't know enough to make a patch for this problem, but while it is resolved, I modified the media-views-view-media-browser.tpl.php changing
print $row->preview;
to
to remove the a element and it works.
Comment #5
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team