Closed (won't fix)
Project:
Lightbox2
Version:
6.x-1.9
Component:
Javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2009 at 08:56 UTC
Updated:
7 Jun 2009 at 10:46 UTC
I'dont test my site in IE frequently, so i don't know when the problem beggins.
I use lightbox for login form, and for showing images / both are not functioning in IE 7 (FF, Opera, Chrome, Safari are ok).
I only manage to find that the contact form "bug" is related to:
line 1296 of lightbox2.module
/**
* Get the contact form.
*/
function lightbox2_contact() {
if (module_exists('contact') && variable_get('lightbox2_enable_contact', FALSE) && user_access('access site-wide contact form')) {
$path = drupal_get_path('module', 'contact');
include_once($path .'/contact.pages.inc');
print drupal_get_form('contact_mail_page');
// drupal_add_js() with 'inline' didn't seem to work, possibly because this is
// AJAX loaded content.
<b>print '<script type="text/javascript">Drupal.attachBehaviors();</script>';</b>
exit;
}
}
It's there any solution?
Comments
Comment #1
stella commentedplease provide the full error message you are seeing.
Cheers,
Stella
Comment #2
petr illekOK, here it is:
Line: 17
Char: 1
Error: 'Drupal' is undefined
Code: 0
URL adress: http://localhost/user/login/lightbox2
Comment #3
petr illekAnd one more. If I clicked on the login or image - its show mi error:
Line: 265
Char: 5
Error: Wrong value of attribute
Code: 0
Than its load the node and show me the above error...
Comment #4
petr illekDo you need some more information?
Comment #5
stella commentedCan you provide a link to the website? My contact form is enabled if you wish to do so privately.
Do any errors appear in Firefox's Error Console (under Tools menu)?
Comment #6
petr illekIn the FF console is only one warning about wrong CSS atribute value "background-color". Nothing more.
Comment #7
stella commentedNo link to website provided, so marking as "won't fix". Please feel free to re-open if the issue persists and you can provide a link to a site where the problem occurs.
Cheers,
Stella