If the 5.x-1.x-dev version of disknode is put in sites/all/modules the browse files button fails. This is because the path to the disknode.js file is hard coded. The attached patch uses drupal_get_path('module', 'disknode') to find the path.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | disknode.fix_js_location.diff | 1.77 KB | mooffie |
| browse.patch | 779 bytes | martintomes |
Comments
Comment #1
Ectar commentedThank you for contribution and making patch. This fix will be included in newest build.
Comment #2
falu commentedI have also reported (and solved) this bug on september 13: http://drupal.org/node/175440
Comment #3
mooffie commentedMarking this RTBC.
Comment #4
mooffie commented(Note: $base_path sould be used instead of $base_url, to solve this. For D5 we should use drupal_add_js(). I'm attaching a patch for D5, which also degrades gracefully when no JavaScript support is present.
Comment #5
mooffie commentedHere's the patch.
Comment #6
mooffie commentedFixed in both D5 and D47 branches.
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.