D
D
Denis2015-10-13 18:29:22
Drupal
Denis, 2015-10-13 18:29:22

How to make the script work?

Hello. It costs Drupal 7. Jquery version 1.11 is connected via JqueryUpdate. I connect my script to drupal, it does not understand it until I add jquery of the same version 1.11 for the second time, for example. How to treat? =(
Wrapped the script in

(function (cash) {
  Drupal.behaviors.confirmfix = {
    attach: function (context, settings) {
   (function($) {

and it doesn't help (function($) {

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2015-10-13
@andead

https://www.drupal.org/node/756722#behaviors
habrahabr.ru/post/161039

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question