mirror of
https://github.com/pretix/pretix.git
synced 2026-02-21 09:12:28 +00:00
Compare commits
1 Commits
error-back
...
fix-mail-h
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d18e8391a |
@@ -321,7 +321,7 @@ def mail(email: Union[str, Sequence[str]], subject: str, template: Union[str, La
|
|||||||
body_plain=body_plain,
|
body_plain=body_plain,
|
||||||
body_html=body_html,
|
body_html=body_html,
|
||||||
sender=sender,
|
sender=sender,
|
||||||
headers=headers,
|
headers=headers or {},
|
||||||
should_attach_tickets=attach_tickets,
|
should_attach_tickets=attach_tickets,
|
||||||
should_attach_ical=attach_ical,
|
should_attach_ical=attach_ical,
|
||||||
should_attach_other_files=attach_other_files or [],
|
should_attach_other_files=attach_other_files or [],
|
||||||
@@ -763,7 +763,7 @@ def mail_send(to: List[str], subject: str, body: str, html: Optional[str], sende
|
|||||||
body_plain=body,
|
body_plain=body,
|
||||||
body_html=html,
|
body_html=html,
|
||||||
sender=sender,
|
sender=sender,
|
||||||
headers=headers,
|
headers=headers or {},
|
||||||
should_attach_tickets=attach_tickets,
|
should_attach_tickets=attach_tickets,
|
||||||
should_attach_ical=attach_ical,
|
should_attach_ical=attach_ical,
|
||||||
should_attach_other_files=attach_other_files or [],
|
should_attach_other_files=attach_other_files or [],
|
||||||
|
|||||||
@@ -674,10 +674,11 @@ var editor = {
|
|||||||
$("#toolbox").find("button[data-action=middle]").toggleClass('active', o.verticalAlign === 'middle');
|
$("#toolbox").find("button[data-action=middle]").toggleClass('active', o.verticalAlign === 'middle');
|
||||||
$("#toolbox").find("button[data-action=bottom]").toggleClass('active', o.verticalAlign === 'bottom');
|
$("#toolbox").find("button[data-action=bottom]").toggleClass('active', o.verticalAlign === 'bottom');
|
||||||
|
|
||||||
|
console.log("_update_toolbox_values", o.scaleY, o.scaleX)
|
||||||
if (o.scaleY !== 1 || o.scaleX !== 1) {
|
if (o.scaleY !== 1 || o.scaleX !== 1) {
|
||||||
o.set({
|
o.set({
|
||||||
height: o.height * o.scaleY,
|
height: Math.max(o.height * o.scaleY, editor._mm2px(10.01)),
|
||||||
width: o.width * o.scaleX,
|
width: Math.max(o.width * o.scaleX, editor._mm2px(10.01)),
|
||||||
scaleX: 1,
|
scaleX: 1,
|
||||||
scaleY: 1
|
scaleY: 1
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user