[FIXED v3.0.12] Image field in DB-mode popup selector only works correctly for existing values

More
8 years 9 months ago - 8 years 9 months ago #59877 by agata
Hello,
I upgraded to FC 3.0.10 (and then to 3.0.11) and I noticed that the image fields with multiple values don't quite work, that is the first image pop-up selector (in the back-end) appears correctly and when I proceed to trying to upload a second image, the popup doesn't appear, only the stripey overlay. The temporary solution to this is to upload 1 image, apply, then upload another one, apply, and so on.
Thanks,
Agata
Last edit: 8 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #59878 by ggppdk
Hello

i tested with
chrome 48.0.2564.97 m
firefox 44.0
edge 25.10586.0

i cannot replicate it

- do you have a custom backend template ? can you test with Joomla built-in ?
can you check for JS errors ?


[update]
what is the "source" mode of the field ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #59879 by ggppdk
Hello

i see the problem with when image source mode is "DB re-usable"


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #59880 by agata
I don't have a custom back-end template. I tested it with Firefox and Chrome with the same results. The source is Reusable DB Mode. No javascript errors, only a warning:
Use of getAttributeNode() is deprecated. Use getAttribute() instead.

What do you mean by "can you test with Joomla built-in"?

Thanks,
Agata
Last edit: 8 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #59881 by ggppdk
Hello

test this fix,
edit plugins/flexicontent_fields/image/image.php

replace:
Code:
var imgprev_JTooltips = new Tips($(newField.get(0)).getElements('.hasTipPreview'), { \"maxTitleChars\": 50, \"fixed\": false, \"onShow\": jMediaRefreshPreviewTip});
with
Code:
if ( tipped_elements.length ) var imgprev_JTooltips = new Tips($(newField.get(0)).getElements('.hasTipPreview'), { \"maxTitleChars\": 50, \"fixed\": false, \"onShow\": jMediaRefreshPreviewTip});


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #59882 by ggppdk
Hello

will test this more thoroughly and make a solid fix


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 9 months ago by ggppdk.
The following user(s) said Thank You: agata

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.470 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline