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.

CommentFileSizeAuthor
#5 disknode.fix_js_location.diff1.77 KBmooffie
browse.patch779 bytesmartintomes

Comments

Ectar’s picture

Thank you for contribution and making patch. This fix will be included in newest build.

falu’s picture

I have also reported (and solved) this bug on september 13: http://drupal.org/node/175440

mooffie’s picture

Status: Active » Reviewed & tested by the community

Marking this RTBC.

mooffie’s picture

(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.

mooffie’s picture

StatusFileSize
new1.77 KB

Here's the patch.

mooffie’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in both D5 and D47 branches.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.