From 65e90cbdc4d5336ff5882414414a9dc874ae6333 Mon Sep 17 00:00:00 2001
From: Chris Gross <gross.364@osu.edu>
Date: Mon, 24 Apr 2017 17:26:52 -0400
Subject: [PATCH] weekly build 2

---
 profiles/wcm_base/CHANGELOG.txt                           | 4 +++-
 .../wcm_base/modules/contrib/jquery_update/PATCHES.txt    | 2 +-
 .../modules/contrib/jquery_update/jquery_update.module    | 8 ++++----
 profiles/wcm_base/wcm_base.make                           | 2 +-
 4 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/profiles/wcm_base/CHANGELOG.txt b/profiles/wcm_base/CHANGELOG.txt
index 8f3055ea..b095bb5a 100644
--- a/profiles/wcm_base/CHANGELOG.txt
+++ b/profiles/wcm_base/CHANGELOG.txt
@@ -1,9 +1,11 @@
-WCM Base 7.x-1.x, 2017-04-24
+WCM Base 7.x-1.x, 2017-04-25
 ----------------------------
 - WCM Base:
   - Updated Fieldable Panels Panes to 1.11 to fix node cloning issues.
   - Upgraded and patched contrib modules to improve PHP 7 compatability:
     Field Group, Linkchecker, Migrate, Panopoly Magic, and Views.
+  - Downgraded jQuery UI to 1.11.4 to keep accessibility improvements while also
+    fixing an issue with 1.12 that caused Views AJAX pagers to break.
 - WCM Permissions: Added RAW and DS text formats, 'revert revisions' to Site Builder role.
 - WCM Omega:
   - Fixed mobile menu colors.
diff --git a/profiles/wcm_base/modules/contrib/jquery_update/PATCHES.txt b/profiles/wcm_base/modules/contrib/jquery_update/PATCHES.txt
index 1ade80ff..8ad04c7f 100644
--- a/profiles/wcm_base/modules/contrib/jquery_update/PATCHES.txt
+++ b/profiles/wcm_base/modules/contrib/jquery_update/PATCHES.txt
@@ -1,4 +1,4 @@
 The following patches have been applied to this project:
-- http://drupal.org/files/issues/add_jqueryui_1.12_nojs-2197249-36.patch
+- http://drupal.org/files/issues/add_jqueryui_1.11.4_nojs-2197249-37.patch
 
 This file was automatically generated by Drush Make (http://drupal.org/project/drush).
diff --git a/profiles/wcm_base/modules/contrib/jquery_update/jquery_update.module b/profiles/wcm_base/modules/contrib/jquery_update/jquery_update.module
index 5f4fd173..c06d81bf 100644
--- a/profiles/wcm_base/modules/contrib/jquery_update/jquery_update.module
+++ b/profiles/wcm_base/modules/contrib/jquery_update/jquery_update.module
@@ -528,19 +528,19 @@ function jquery_update_jqueryui_replace(&$javascript, $cdn, $path, $min) {
 
   switch ($cdn) {
     case 'google':
-      $cdn = '//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui' . $min . '.js';
+      $cdn = '//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui' . $min . '.js';
       jquery_update_jqueryui_cdn($cdn, $javascript, $path, $min, $names);
       jquery_update_jqueryui_backup($javascript, $path, $min);
       break;
 
     case 'microsoft':
-      $cdn = '//ajax.aspnetcdn.com/ajax/jquery.ui/1.12.1/jquery-ui' . $min . '.js';
+      $cdn = '//ajax.aspnetcdn.com/ajax/jquery.ui/1.11.4/jquery-ui' . $min . '.js';
       jquery_update_jqueryui_cdn($cdn, $javascript, $path, $min, $names);
       jquery_update_jqueryui_backup($javascript, $path, $min);
       break;
 
     case 'jquery':
-      $cdn = '//code.jquery.com/ui/1.12.1/jquery-ui' . $min . '.js';
+      $cdn = '//code.jquery.com/ui/1.11.4/jquery-ui' . $min . '.js';
       jquery_update_jqueryui_cdn($cdn, $javascript, $path, $min, $names);
       jquery_update_jqueryui_backup($javascript, $path, $min);
       break;
@@ -623,7 +623,7 @@ function jquery_update_jqueryui_cdn($cdn, &$javascript, $path, $min, $names) {
     $corefile = 'misc/ui/jquery.' . $file_core . '.min.js';
     // Remove the core files.
     unset($javascript[$name]['js'][$corefile]);
-    $javascript[$name]['version'] = '1.12.1';
+    $javascript[$name]['version'] = '1.11.4';
   }
 
   // UI is used by all of UI. Add the js cdn here.
diff --git a/profiles/wcm_base/wcm_base.make b/profiles/wcm_base/wcm_base.make
index c471bc5b..e706be31 100644
--- a/profiles/wcm_base/wcm_base.make
+++ b/profiles/wcm_base/wcm_base.make
@@ -66,7 +66,7 @@ projects[google_tag][subdir] = contrib
 
 projects[jquery_update][version] = 3.0-alpha5
 projects[jquery_update][subdir] = contrib
-projects[jquery_update][patch][2197249] = http://drupal.org/files/issues/add_jqueryui_1.12_nojs-2197249-36.patch
+projects[jquery_update][patch][2197249] = http://drupal.org/files/issues/add_jqueryui_1.11.4_nojs-2197249-37.patch
 
 projects[link][version] = 1.4
 projects[link][subdir] = contrib
-- 
GitLab