This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
patched mediabox.js inconsistent regarding contextmenu #7501
Comments
Where have you found a version 1.5.x of mediabox? |
Yes I know both sites that's why I asked where you found a 1.5 version. I can't find one, no stable and no alpha or beta. |
The master branch contains the 1.5.x version: https://github.com/iaian7/mediaboxAdvanced/blob/master/Source/mediaboxAdv.js |
Ah, ok, sorry forgot to look at the master. Three years old 😳 |
fritzmg
changed the title
patched mediabox.js iconsistent regarding contextmenu
patched mediabox.js inconsistent regarding contextmenu
Dec 17, 2014
Too bad the maintainer did not tag their releases, otherwise we would have known that there is a version 1.5 :( |
leofeyer
added a commit
that referenced
this issue
Jan 21, 2015
I have updated the Contao mediabox component accordingly, however, it requires to adjust the So for Contao 3, I have just commented out line 900 in 46e670f to fix the issue. |
Sounds good :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Contao's version of the mediabox.js adds the following patch, to enable the contextmenu on image links by default:
However, the contextmenu on the actual image is still disabled. In order to enable it, the following line (#900) needs to be disabled:
But may be it would be better to upgrade the mediabox to its newest version. mediabox 1.5.x introduces this option:
When
clickBlock
is false, both the already patched part and the part I mentioned will be disabled.The text was updated successfully, but these errors were encountered: