M
M
Maxim2015-03-15 07:45:57
Drupal
Maxim, 2015-03-15 07:45:57

How to fix js script conflict in drupal 7?

In order for bootstrap to work correctly, I needed to specify a newer version of JS. Old 1.4.4.
I installed the jQuery Update module and set the settings like this (in the picture below):
745ed36dd8804fc199935caa8bad3702.png
It turns out that the 1.10 script should work under the admin, but when I go to edit the page, upload the image, the image upload window shows that the 1.10 script is connected, and I need the default one there . Because of this, the download buttons in the top line do not work:
681de86f289749ce90de54731b2c0af2.png
Tiny_MCE Editor.
Tell me, please, how to be? At least how to personally set the script for this window, if not cardinally correct other possible errors ?!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drupby, 2015-03-15
@MToUCH

If you look closely at the source code, you will see that the file browser is loaded in an iframe, and it has the /imce url, which is naturally not administrative. Therefore, you need to write a small module and paste the code there

/**
 * Implements hook_admin_paths().
 *
 * Add IMCE to admin paths.
 */
function mymodule_admin_paths() {
  $paths = array(
    'imce' => TRUE,
  );
  return $paths;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question