Skip to content

Instantly share code, notes, and snippets.

@piyuesh23
Created October 12, 2015 07:20
Show Gist options
  • Save piyuesh23/968b026e378a2392beab to your computer and use it in GitHub Desktop.
Save piyuesh23/968b026e378a2392beab to your computer and use it in GitHub Desktop.
diff -uprb a/wysiwyg.module b/wysiwyg.module
--- wysiwyg.module 2012-09-29 06:22:42.000000000 +0530
+++ wysiwyg.module 2015-01-14 12:46:30.000000000 +0530
@@ -348,7 +348,7 @@ function wysiwyg_load_editor($profile) {
drupal_add_js($init, array('type' => 'inline') + $default_library_options);
}
else {
- drupal_add_js(file_create_url($uri), $default_library_options);
+ drupal_add_js($uri, $default_library_options);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment