Closed (duplicate)
Project:
AJAX Poll
Version:
7.x-1.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2011 at 16:26 UTC
Updated:
13 Aug 2015 at 10:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
quicksketchI think I have confirmed this problem. The JavaScript console reports:
In the jquery.form.js file. As reported in http://stackoverflow.com/questions/6774231/jquery-form-plugin-uncaught-t..., this is because the stock version of jquery.form.js version we're using it not compatible with jQuery 1.5+. It looks like jQuery Update is supposed to be including the newer version of the file for us, but it's not.
jquery.form.js has been added to the page via
drupal_add_js('misc/jquery.form.js');in my situation (and probably in AJAX Poll module since I maintain that module too).Comment #2
quicksketchAh, well looks like this is my fault. In order to be compatible with jQuery Update, modules must (and should anyway) be using drupal_add_library() instead of drupal_add_js(). I'll move this over to the AJAX Poll queue and handle this problem there.
Comment #3
westwesterson commentedhere is a patch for solution in #2. Works for me.
Comment #4
westwesterson commentedreview time
Comment #5
chr.fritschWorks fine for me!
Comment #6
maximpodorov commentedDuplicate of already fixed #2153411: AJAX Poll may load jquery.forms.js twice if jQuery Update is installed.