diff --git a/trailer.html b/trailer.html index f413285..695edf0 100644 --- a/trailer.html +++ b/trailer.html @@ -892,7 +892,8 @@ + '' + (busy ? '' : '
' - + '' + + '' + (drawn ? '' : '') @@ -1551,8 +1552,10 @@ el.disabled = true; var psl = document.querySelector('[data-propshotlist="' + ppid + '"]'); r = await act("set_prop", { draft_id: CUR, prop_id: ppid, description: pta ? pta.value : "", - shots: psl ? psl.value : null, force: true }); - if (r) { showMsg("msg", "Drawing the reference picture, about $" + r.usd + ". When it looks right, redraw the shots that show it.", "ok"); await refresh(); } + shots: psl ? psl.value : null, force: !!el.getAttribute("data-again") }); + if (r) { showMsg("msg", el.getAttribute("data-again") + ? "Drawing the reference picture again, about $" + r.usd + ". When it looks right, redraw the shots that show it." + : "Saved. If you changed the description its picture is being drawn again.", "ok"); await refresh(); } return; } if ((el = hit("data-propshots"))) {