When using the jquery_update module to support multiple/separate jQuery versions, there is also the option of loading jQuery from a CDN (Google, MS, jQuery.com). If using one of these options, the focal point widget on the node form breaks. The cursor is shown at 0,0 but it cannot be dragged. This is right after an image is uploaded to the field.

The console shows this stack trace:

Uncaught TypeError: undefined is not a function    focal_point.js:49
(anonymous function)    focal_point.js:49
jQuery.extend.each    jquery.js:611
jQuery.fn.jQuery.each    jquery.js:241
$.fn.once    jquery.once.js?v=1.2:55
Drupal.behaviors.focalPointIndicator.attac    focal_point.js:16
(anonymous function)    drupal.js?na7ozq:76
jQuery.extend.each    jquery.js:605
Drupal.attachBehaviors    drupal.js?na7ozq:74
Drupal.ajax.commands.insert    ajax.js?v=7.31:542
Drupal.ajax.success    ajax.js?v=7.31:400
ajax.options.success    ajax.js?v=7.31:164
options.success    jquery.form.js?v=2.69:150
cb    jquery.form.js?v=2.69:401

Disabling the CDN feature of jquery_update fixes this, so it must be something with the order the scripts are loaded in for the CDN version.

Comments

bleen’s picture

I confirmed this ... taking a look

bleen’s picture

bleen’s picture

Status: Active » Closed (works as designed)

I confirmed today with ericduran (maintainer of jquery_update) that this is an issue with query update... so I'm closing this