forked from CGM_Public/pretix_original
fix bug when releasing outside of table
This commit is contained in:
@@ -747,15 +747,18 @@ $(function () {
|
|||||||
|
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
$rows.on("pointerenter", onChangeSelection);
|
$rows.on("pointerenter", onChangeSelection);
|
||||||
}).on("pointerup", function(ev) {
|
|
||||||
if (onChangeSelectionHappened) {
|
$(document).one("pointerup", function(ev) {
|
||||||
ev.preventDefault();
|
if (onChangeSelectionHappened) {
|
||||||
onChangeSelectionHappened = false;
|
ev.preventDefault();
|
||||||
$checkboxes.removeAttr("data-inital");
|
onChangeSelectionHappened = false;
|
||||||
}
|
$checkboxes.removeAttr("data-inital");
|
||||||
$rows.off("pointerenter", onChangeSelection);
|
}
|
||||||
|
$rows.off("pointerenter", onChangeSelection);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
var update = function () {
|
var update = function () {
|
||||||
var all_same;
|
var all_same;
|
||||||
var checkboxes = $checkboxes.toArray();
|
var checkboxes = $checkboxes.toArray();
|
||||||
|
|||||||
Reference in New Issue
Block a user