mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Sendmail plugin: Allow filtering for check-ins (#1382)
* Allow filtering mass-emails for Checkin Lists * Allow filtering mass emails for not checked in * Fix email filtering logic issue * Use Select2 for checkin lists selection * sendmail plugin: Make checkin list filtering optional * Remove unused constant * Re-size panel to only fit the right column * Revert incorrect JavaScript change * Change semantics of not_checked_in * Introduce a subquery to filter on position properties
This commit is contained in:
@@ -256,7 +256,7 @@ var form_handlers = function (el) {
|
||||
dependency.on("change", update);
|
||||
});
|
||||
|
||||
el.find("input[data-inverse-dependency]").each(function () {
|
||||
el.find("select[data-inverse-dependency], input[data-inverse-dependency]").each(function () {
|
||||
var dependency = $(this).attr("data-inverse-dependency");
|
||||
if (dependency.substr(0, 1) === '<') {
|
||||
dependency = $(this).closest("form, .form-horizontal").find(dependency.substr(1));
|
||||
@@ -273,7 +273,7 @@ var form_handlers = function (el) {
|
||||
dependency.on("change", update);
|
||||
});
|
||||
|
||||
$("div[data-display-dependency], input[data-display-dependency]").each(function () {
|
||||
el.find("div[data-display-dependency], input[data-display-dependency]").each(function () {
|
||||
var dependent = $(this),
|
||||
dependency = $($(this).attr("data-display-dependency")),
|
||||
update = function (ev) {
|
||||
|
||||
Reference in New Issue
Block a user