I got this javascript error when I reach the edit mode of a node type containing two image fields.
Do you think it's a ordering .js' file problem?
Fact:
1. CCK version : 5.x-1.6-1
2. imagefield version : 5.x-1.1
3. permissions for your tmp and files directory : ??? but image upload correctly.
4. download method (public or private files) : Public
5. imagefield configuration : two on the same node type (one with multiple value)
6. expected results : no more js error
7. the unexpected actual results :
button has no properties
redirectFormButton("http://localhost/Drupal/upload/js", undefined, Object button=#attach-button wrapper=#attach-wrapper)drupal.js (line 31)
jsUpload("http://localhost/Drupal/upload/js", "attach-button", "attach-wrapper", "attach-hide")upload.js (line 27)
uploadAutoAttach()upload.js (line 14)
e([input#edit-attach-url.upload http://localhost/Drupal...], function(), undefined)jquery.js (line 2)
e(function(), undefined)jquery.js (line 2)
uploadAutoAttach()upload.js (line 7)
e()
8. Steps to reproduce the problem : access the edit page of the node type.
Thank for your attention!
Comments
Comment #1
pgtremb commentedOh!
I got it!
It's a conflict with upload module. I desactivate it and javascript smile again.
Thank for your patience!
Comment #2
mdroste commentedI've got the same problem, but I need the upload.module.
The only solution I've found, is to remove 'drupal_add_js('upload.js) from the upload.module.