-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Important part cannot be set within picker overlay #1093
Comments
|
I think this can be fixed with the following changes: --- a/src/Resources/contao/themes/flexible/src/hover.js
+++ b/src/Resources/contao/themes/flexible/src/hover.js
@@ -192,8 +192,9 @@ var Theme = {
* Set up the profile toggle
*/
setupProfileToggle: function() {
- var tmenu = $('tmenu'),
- ul = tmenu.getElement('.level_2'),
+ var tmenu = $('tmenu');
+ if (!tmenu) return;
+ var ul = tmenu.getElement('.level_2'),
h2 = tmenu.getElement('h2');
if (!ul || !h2) return;
|
|
This issue also occurs then editing content in the modal window (e.g. edit a form by clicking the edit wizard in the content element). |
|
@dmolineus can you confirm that my changes also fixes your issue? |
|
@ausi Yes, it fixes the issue. |
leofeyer
added a commit
that referenced
this issue
Sep 27, 2017
leofeyer
added a commit
that referenced
this issue
Sep 27, 2017
leofeyer
added a commit
that referenced
this issue
Sep 27, 2017
leofeyer
pushed a commit
that referenced
this issue
Sep 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you go to the file manager within the picker overlay and edit an image, you are not able to set the important part with your cursor anymore. Instead, only the input fields to manually set the important part appear.
Possibly related to #1092 ?
The text was updated successfully, but these errors were encountered: