Active
Project:
Ajax
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2010 at 10:17 UTC
Updated:
21 Dec 2010 at 08:19 UTC
Hi,
When enabling the Ajax Thickbox Login feature, the Thickbox generated has double div id's. The first <div id="TB_title"> generates the title, the second <div id="TB_ajaxContent"> generates the content, the third <div id="TB_title"> displays the title again and the 4th <div id="TB_ajaxContent"> is just empty.
<div id="TB_title"><div id="TB_ajaxWindowTitle"></div><div id="TB_closeAjaxWindow"><a href="#" id="TB_closeWindowButton" title="Close">Close</a> or Esc Key</div></div>
<div id="TB_ajaxContent" style="width: 250px; height: 225px;"></div>
<div id="TB_title"><div id="TB_ajaxWindowTitle"></div><div id="TB_closeAjaxWindow"><a href="#" id="TB_closeWindowButton" title="Close">Close</a> or Esc Key</div></div>
<div id="TB_ajaxContent" style="width: 250px; height: 225px;"></div>
| Comment | File | Size | Author |
|---|---|---|---|
| screenshot.png | 141.23 KB | darthf1 |
Comments
Comment #1
darthf1 commentedNothing?
Comment #2
winggundamth commented+1 Happen with me too
Comment #3
sickhippie commentedIt doubles when you have both thickbox and ajax thickbox login turned on. Disable one or the other. I'm dealing with it right now, and it's not fun.
Comment #4
Gr3fweN commentedAny news on this?
Comment #5
hoffsam commentedHmmm. I'm no expert, but surely there must be a way to get the two modules to play nicely... Anyone have any idea how?
Comment #6
StoraH commentedI think the problem is that the thickbox.js file in the thickbox module is the same as in the ajax_register module.
So whats happen is that the code load twice. I'm not a good programmer but it should be pretty easy to fix this with a else if.
So what you can simple do to fix this is just to delete all the code in thickbox.js in the ajax_register module.
Do not delete the file thickbox.js just the code inside it.
Comment #7
rafawhs commentedDo you call for thickbox.js in your ajaxContent.htm(href="somename.htm") page?
Comment #8
demonmhon commentedI found this problem too. Following @rafawhs comment, try to make sure that you do not put thickbox.js more than once, this solution work for me.