From e27f75674f8de80efbcb1300b43337e5e204ef0c Mon Sep 17 00:00:00 2001
From: Earl Miles <merlin@logrus.com>
Date: Fri, 24 Apr 2009 00:08:51 +0000
Subject: [PATCH] #443318: Inadverently left an "op" that was hiding which
 button was selected in the modal.

---
 js/modal.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/js/modal.js b/js/modal.js
index 194bbb63..09c8cc9d 100644
--- a/js/modal.js
+++ b/js/modal.js
@@ -179,8 +179,7 @@ Drupal.behaviors.CToolsModal = function(context) {
     // Bind submit links in the modal form.
     $('form:not(.ctools-use-modal-processed)', context)
       .addClass('ctools-use-modal-processed')
-      .submit(Drupal.CTools.Modal.submitAjaxForm)
-      .append('<input type="hidden" name="op" value="">');
+      .submit(Drupal.CTools.Modal.submitAjaxForm);
     // add click handlers so that we can tell which button was clicked,
     // because the AJAX submit does not set the values properly.
 
-- 
GitLab