Closed (duplicate)
Project:
Chatblock
Version:
5.x-1.0.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2008 at 23:19 UTC
Updated:
31 Aug 2008 at 02:28 UTC
Dear Sirs,
I have this module installed on my site and I have been receiving complaints that one must push submit twice before the post appears. I have also added this and modified it for my design so that a lightbox opens with the text field, and before one can post they must hit submit, close the lightbox, re-open it, then hit submit and it posts. This also occurs with it just on the page as-well (so it's not a light-box specific problem.)
I have linked all the files correctly, so is this a bug, or something that I can fix myself?
Thanks so much,
Addie.
Comments
Comment #1
dwees commentedI haven't seen this issue before. My guess is that some custom js is interfering with the js of Chatblock. Is it possible to email me a link (or post a link) so I can see the problem?
Dave
Comment #2
JonGirard-1 commentedHi Dave,
I'm having this exact same problem.
I've narrowed it down to what I believe is going on, but I'm gonna need your help to solve the last bit :P
Basically, I've taken the chatblock mod and styled it severely with css to make it look the way I want, I also decided to (for more control over the text field) hide the original submit form (red striped), copy the form code (txt box, submit button, etc.. ), stick it in a seperate div (green), and have it open in a lightbox.
Color Coded Screenshot:
http://www3.telus.net/jong3/My%20Biography%20%7c%20Michael%20Boston%20Da...
Anyhow, at first I thought it was the lightbox interfering with some of the chatblock code, so I ran a test. I set the hidden div (green) that had the copied text box and submit button (green) (which opened in the lightbox) to display: block (from before being display: hidden so it would open in the lightbox) which showed the text field on the page.
I tried typing something into it, and submitting, the exact same problem. Usually, to submit it (if it were inside the lightbox) I'd have to close the lightbox, re open it, and then submit it again, well since it wasn't in anything to close, I couldn't find out if it would have submitted on the second time as just a regular div, but I'm positive it would have. At that point though, I knew it wasn't the lightbox causing the issues. Next, I unhid the original chatblock textbox, form, and components (striped red), and typed something, submit it, worked perfectly every time.
My suspicions are that the copied text box is interfering with the original one perhaps, and thinking that it can only submit every other time because perhaps it's confusing code?
I really need a way to solve this please, any help is appreciated.
Below is also a screencast of the (green) lightbox problem in action.
Screencast:
http://www.screencast.com/users/JonGirard/folders/Jing/media/c690570b-4e...
Thanks very much,
Jon.
Comment #3
dwees commentedSee another issue in this queue for more instructions on how to possibly fix this. I need more information.