Closed (fixed)
Project:
Contact
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2010 at 14:21 UTC
Updated:
12 Jun 2010 at 16:50 UTC
We're getting log messages for missing js files requested by this module. It's from two bit of code around lines 60 and 193 that read:
if (!$user->uid) {
drupal_add_js(drupal_get_path('module', 'contact') . '/jquery.cookie.js');
drupal_add_js(drupal_get_path('module', 'contact') . '/contact.js');
$form['#attributes']['class'] = 'user-info-from-cookie';
}
These files are not in the contact module folder (sites/all/modules/contact/jquery.cookie.js), nor in the tar.gz from its module page, nor in the old Drupal 6 contact module folder... Where can I get them?
Comments
Comment #1
jim kirkpatrick commentedI've just spotted that those two js files are present in 7.x but not the 6.x version! We just need a re-package I guess...
Comment #2
boabjohn commented@ Jim: thanks for your spotting this one. I had followed advice at http://drupal.org/node/717304 and was feeling a bit lost.
- Downloaded the 7x version
- Unpacked and located .js files
- Uploaded to my contact 6x install
- All good
Comment #3
dave reidMissing JS files committed to CVS. Sorry about that.
http://drupal.org/cvs?commit=372952