app/assets/javascripts/jqr-helpers.js in jqr-helpers-1.0.59 vs app/assets/javascripts/jqr-helpers.js in jqr-helpers-1.0.60
- old
+ new
@@ -79,9 +79,13 @@
$(this).dialog('option', 'resizable', false);
}
}
function ujsDialogClick(event) {
+ if ((event.ctrlKey || event.shiftKey || event.metaKey) &&
+ $(this).is('a')) {
+ return;
+ }
$(this).uniqueId();
var dialogClickID = $(this).prop('id');
var dialogID = $(this).data('dialog-id');
var dialogElement = $('#' + dialogID);
if (dialogID == 'next') dialogElement = $(this).next();