The error I get in Chrome

Unsafe JavaScript attempt to access frame with URL http://example.net/filefield/ahah/story_with_image/field_header_image/0 from frame with URL http://example.net/node/79287/clone. Domains, protocols and ports must match.

If you notice the domain, protocol and ports all match so something is up... I don't get this error if I do not use jquery update & the google cdn. So I'm going to disable jquery update & the jquery.js google cdn only on the node/*/clone page.

CommentFileSizeAuthor
#1 advagg-1246816-1.patch1.76 KBmikeytown2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

Status: Active » Fixed
FileSize
1.76 KB

committed this patch. Here is the hook I used & the $conf settings I changed to make this fly

/**
 * Implementation of hook_advagg_disable_processor().
 */
function example_advagg_disable_processor() {
  global $conf;
  // On the node/*/clone page Disable
  // AdvAgg Full Cache
  // jQuery Update
  // AdvAgg jQuery CDN
  // Set json encode function back to core's
  // Increment JS bundler by one
  $arg = arg();
  if (isset($arg[0]) && isset($arg[1]) && isset($arg[2]) && empty($arg[3]) && $arg[0] == 'node' && is_numeric($arg[1]) && $arg[2] == 'clone') {
    $conf['advagg_use_full_cache'] = FALSE;
    $conf['jquery_update_replace'] = FALSE;
    $conf['advagg_js_cdn_jquery'] = FALSE;
    $conf['advagg_json_encode_function'] = 'drupal_to_js';
    $conf['advagg_bundler_max_js'] += 1;
  }
}

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.