Direct edit of a shot includes its continuity line (it reaches the film prompt)
This commit is contained in:
parent
2d634d9244
commit
dbe7d43ff4
1 changed files with 2 additions and 1 deletions
|
|
@ -1615,6 +1615,7 @@
|
||||||
+ fld("action", "What happens", 6, "every movement in order with its result; the camera told what it does and what it keeps in frame")
|
+ fld("action", "What happens", 6, "every movement in order with its result; the camera told what it does and what it keeps in frame")
|
||||||
+ fld("closing_image", "Closing picture", 2, "where everything is when the shot ends")
|
+ fld("closing_image", "Closing picture", 2, "where everything is when the shot ends")
|
||||||
+ fld("camera", "Camera", 1, "")
|
+ fld("camera", "Camera", 1, "")
|
||||||
|
+ fld("continuity", "Continuity", 2, "what must stay the same as the shots around it; it goes to the film too")
|
||||||
+ '<div class="tools"><button type="button" class="btn primary" data-directsave="' + esc(s.id) + '">Save my words</button>'
|
+ '<div class="tools"><button type="button" class="btn primary" data-directsave="' + esc(s.id) + '">Save my words</button>'
|
||||||
+ '<button type="button" class="btn" data-cancel="1">Cancel</button></div></div>';
|
+ '<button type="button" class="btn" data-cancel="1">Cancel</button></div></div>';
|
||||||
}
|
}
|
||||||
|
|
@ -1731,7 +1732,7 @@
|
||||||
if ((el = hit("data-directedit"))) { e.preventDefault(); EDITING = "direct:" + el.getAttribute("data-directedit"); openTab(CUR); return; }
|
if ((el = hit("data-directedit"))) { e.preventDefault(); EDITING = "direct:" + el.getAttribute("data-directedit"); openTab(CUR); return; }
|
||||||
if ((el = hit("data-directsave"))) {
|
if ((el = hit("data-directsave"))) {
|
||||||
var dsid = el.getAttribute("data-directsave"), payload = { draft_id: CUR, shot_id: dsid };
|
var dsid = el.getAttribute("data-directsave"), payload = { draft_id: CUR, shot_id: dsid };
|
||||||
["opening_image", "action", "closing_image", "camera"].forEach(function (k) { var t = document.querySelector('[data-direct="' + k + '"]'); if (t) payload[k === "action" ? "what_happens" : k] = t.value; });
|
["opening_image", "action", "closing_image", "camera", "continuity"].forEach(function (k) { var t = document.querySelector('[data-direct="' + k + '"]'); if (t) payload[k === "action" ? "what_happens" : k] = t.value; });
|
||||||
if (String(payload.what_happens || "").trim().length < 40) { showMsg("msg", "The description needs a few sentences."); return; }
|
if (String(payload.what_happens || "").trim().length < 40) { showMsg("msg", "The description needs a few sentences."); return; }
|
||||||
el.disabled = true;
|
el.disabled = true;
|
||||||
r = await act("edit_shot", payload);
|
r = await act("edit_shot", payload);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue