Closed (fixed)
Project:
Workflow Fields
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Mar 2008 at 14:45 UTC
Updated:
15 Apr 2008 at 20:31 UTC
Jump to comment: Most recent file
Whenever a File field is hidden by workflow fields, a javascript error is generated on the node editing form. This is the error (as shown by Firebug):
button is undefined (drupal.js, line 31)
button.onmouseover = button.onfocus = function() {
It seems that the javascript settings of the upload part of the form are not removed. This is critical because the collapsible fieldsets in the form stop working and stay collapsed.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | workflow_fields_filefield_2.patch | 661 bytes | peterpoe |
| #1 | workflow_fields_filefield.patch | 689 bytes | peterpoe |
Comments
Comment #1
peterpoe commentedHere is a simple patch that fixes the error.
Comment #2
peterpoe commentedI found that the change had to be applied to invisible file fields as well as uneditable. Fixed the problem with this new patch.
Comment #3
infojunkieCommitted in latest dev release. Thanks!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.