mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Discourage long event short forms
This commit is contained in:
@@ -358,6 +358,10 @@ var form_handlers = function (el) {
|
||||
el.find(".simple-subevent-choice").change(function () {
|
||||
$(this).closest("form").submit();
|
||||
});
|
||||
|
||||
el.find("input[name=basics-slug]").bind("keyup keydown change", function () {
|
||||
$(this).closest(".form-group").find(".slug-length").toggle($(this).val().length > 16);
|
||||
});
|
||||
};
|
||||
|
||||
$(function () {
|
||||
|
||||
Reference in New Issue
Block a user