app/assets/javascripts/jqr-helpers.js in jqr-helpers-1.0.51 vs app/assets/javascripts/jqr-helpers.js in jqr-helpers-1.0.52
- old
+ new
@@ -118,14 +118,13 @@
}
else if (element.click == 'submit') {
dialogOptions.buttons[index].click = ujsSubmitDialogForm;
}
else if (element == 'close') {
- dialogOptions.buttons[index] = $.proxy(ujsDialogClose, dialogElement);
+ dialogOptions.buttons[index] = ujsDialogClose;
}
else if (element.click == 'close') {
- dialogOptions.buttons[index].click =
- $.proxy(ujsDialogClose, dialogElement);
+ dialogOptions.buttons[index].click = ujsDialogClose;
}
else {
dialogOptions.buttons[index] = eval(element);
}
});