mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +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 () {
|
||||
|
||||
@@ -139,6 +139,9 @@ p.bigger {
|
||||
.helper-display-inline {
|
||||
display: inline !important;
|
||||
}
|
||||
.helper-display-none-soft {
|
||||
display: none;
|
||||
}
|
||||
.helper-display-none {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user