Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[#5676] upload field ajax edit avatar image is display:none and not visible to user

  • comyoo
  • comyoo
  • OFFLINE
  • Posts: 87
  • Thanks: 1
  • Karma: 0
8 years 10 months ago - 8 years 10 months ago #275433 by comyoo

hi,

See screenshot as attachment. We use ajax to edit profile.
the image ajax edit will not display the 'upload' field with description because of a display:none statement.

There is no javascript error. Where can we fix this that select 'upload photo' wil activate the upload field or better; remove the 'display:none;' from the element.
Attachments:
Last edit: 8 years 10 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
8 years 10 months ago #275455 by krileon
Ajax edit doesn't work so great with fields that have their own jQuery. Selecting upload from the dropdown should toggle the visibility, but if the edit display of the field is on the page in more than 1 location it goes wonky. I'm already working on a new CB Core Fields Ajax release as of yesterday that will ajax in the edit HTML to prevent the conflicts.

I'm unsure if you're experiencing a bug, but have added a bug ticket to look for this during the rewriting of CB Core Fields Ajax to see if there could be a problem.

forge.joomlapolis.com/issues/5676


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum