diff --git a/js/modal.js b/js/modal.js index 194bbb63833bec932067bbcca76396a3c9d2f741..09c8cc9dabf3b0fc84f78c05881b38a94b721e77 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.