Skip to content

Commit

Permalink
Merge pull request #733 from /issues/732
Browse files Browse the repository at this point in the history
get the current modal the click took place in - #732
  • Loading branch information
DavidCramer authored Jul 29, 2016
2 parents 2bc955c + dacffbb commit 96b6d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function new_form_redirect(obj){
function serialize_modal_form(el){

var clicked = jQuery(el),
data = jQuery('#new_form_baldrickModal'),
data = clicked.closest('.baldrick-modal-wrap'),
name = data.find('.new-form-name');

if( clicked.hasClass( 'cf-loading-form' ) ){
Expand Down

0 comments on commit 96b6d00

Please sign in to comment.