js: only send "click" event to appropriate button (#18894)
This commit is contained in:
parent
e0e9d0cdc9
commit
9841169358
|
@ -212,7 +212,7 @@ var gadjo_js = gadjo_js || {};
|
|||
}).fail(function() { $anchor.trigger('gadjo:dialog-submit-error');
|
||||
});
|
||||
} else {
|
||||
$content.find('button').click();
|
||||
$elem.click();
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue