Skip to content
Snippets Groups Projects
Commit e27f7567 authored by Earl Miles's avatar Earl Miles
Browse files

#443318: Inadverently left an "op" that was hiding which button was selected in the modal.

parent 8d710337
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment