Hi everyone.

If you create a field with a mediabrowser widget and will try to filter files there. But instead of clicking on "Filter" button will press "enter" on your keyboard then the form will be submitted and redirected to /admin/content/media_browser, so all the menus will be shown and other unnecessary html. To prevent it I've created a small patch.

Hope it'll help someone.

Actually the same problem happens in 7.x-1.x-dev version.

Comments

soul88’s picture

StatusFileSize
new1 KB

Oops, forgot to include the "cliecking command" itself. Now should be better

shawn_smiley’s picture

Status: Needs review » Fixed

I've committed this patch to the 1.x branch. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.