From 21cfa16aafb015f2c1caddf3abd329f64c03f8ee Mon Sep 17 00:00:00 2001
From: Chris Gross <gross.364@osu.edu>
Date: Thu, 15 Sep 2016 15:27:27 -0400
Subject: [PATCH] weekly build 3

---
 profiles/wcm_base/modules/contrib/panels/PATCHES.txt   |  1 +
 .../modules/contrib/panels/panels_ipe/js/panels_ipe.js | 10 ----------
 profiles/wcm_base/wcm_base.make                        |  1 +
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/profiles/wcm_base/modules/contrib/panels/PATCHES.txt b/profiles/wcm_base/modules/contrib/panels/PATCHES.txt
index 32dea164..468eda5b 100644
--- a/profiles/wcm_base/modules/contrib/panels/PATCHES.txt
+++ b/profiles/wcm_base/modules/contrib/panels/PATCHES.txt
@@ -1,5 +1,6 @@
 The following patches have been applied to this project:
 - http://drupal.org/files/issues/panelizer_is-1402860-82-fix-ipe-end-js-alert.patch
 - http://drupal.org/files/issues/panels-ipe-workbench-block-2485837-1.patch
+- http://drupal.org/files/issues/panels-ipe-insufficient-2462331-33.patch
 
 This file was automatically generated by Drush Make (http://drupal.org/project/drush).
diff --git a/profiles/wcm_base/modules/contrib/panels/panels_ipe/js/panels_ipe.js b/profiles/wcm_base/modules/contrib/panels/panels_ipe/js/panels_ipe.js
index 47de52a5..f5ea2aba 100644
--- a/profiles/wcm_base/modules/contrib/panels/panels_ipe/js/panels_ipe.js
+++ b/profiles/wcm_base/modules/contrib/panels/panels_ipe/js/panels_ipe.js
@@ -26,16 +26,6 @@ Drupal.PanelsIPE = {
 
 Drupal.behaviors.PanelsIPE = {
   attach: function(context) {
-    // Remove any old editors.
-    for (var i in Drupal.PanelsIPE.editors) {
-      if (Drupal.settings.PanelsIPECacheKeys.indexOf(i) === -1) {
-        // Clean-up a little bit and remove it.
-        Drupal.PanelsIPE.editors[i].editing = false;
-        Drupal.PanelsIPE.editors[i].changed = false;
-        delete Drupal.PanelsIPE.editors[i];
-      }
-    }
-
     // Initialize new editors.
     for (var i in Drupal.settings.PanelsIPECacheKeys) {
       var key = Drupal.settings.PanelsIPECacheKeys[i];
diff --git a/profiles/wcm_base/wcm_base.make b/profiles/wcm_base/wcm_base.make
index f89156da..dcde324d 100644
--- a/profiles/wcm_base/wcm_base.make
+++ b/profiles/wcm_base/wcm_base.make
@@ -102,6 +102,7 @@ projects[panels][version] = 3.x-dev
 projects[panels][subdir] = contrib
 projects[panels][patch][1402860] = http://drupal.org/files/issues/panelizer_is-1402860-82-fix-ipe-end-js-alert.patch
 projects[panels][patch][2485837] = http://drupal.org/files/issues/panels-ipe-workbench-block-2485837-1.patch
+projects[panels][patch][2462331] = http://drupal.org/files/issues/panels-ipe-insufficient-2462331-33.patch
 
 projects[panelizer][version] = 3.4
 projects[panelizer][subdir] = contrib
-- 
GitLab