*** jquery_update.module	Fri Sep 28 01:53:48 2012
--- jquery_update.module	Tue Oct 08 11:12:58 2013
***************
*** 68,77 ****
--- 68,83 ----
    // We are updating just the system module. For all other cases we return.
    if ($module != 'system') {
      return;
    }
  
+   // We don't want to alter if we are on one of the excluded paths
+   if(drupal_match_path(current_path(), variable_get('jquery_update_exclude_paths', ''))) {
+     return;
+   }
+       
+       
    $path = drupal_get_path('module', 'jquery_update');
  
    // Make sure we inject either the minified or uncompressed version as desired.
    $min = variable_get('jquery_update_compression_type', 'min') == 'none' ? '' : '.min';
    $cdn = variable_get('jquery_update_jquery_cdn', 'none');
***************
*** 146,155 ****
--- 152,167 ----
        'microsoft' => t('Microsoft'),
        'jquery' => t('jQuery'),
      ),
      '#default_value' => variable_get('jquery_update_jquery_cdn', 'none'),
      '#description' => t('Use jQuery and jQuery UI from a CDN. If the CDN is not available the local version of jQuery and jQuery UI will be used.'),
+   );
+   $form['jquery_update_exclude_paths'] = array(
+     '#type' => 'textarea',
+     '#title' => t('Disable jQuery update on the following paths'),
+     '#description' => t('You are allowed to use wildcards, for example admin/*'),
+     '#default_value' => variable_get('jquery_update_exclude_paths', ''),
    );
  
    return system_settings_form($form);
  }
  
