' + esc(who.name || a.character_id) + ' '
+ (a.lip_sync ? 'on camera' : 'voice over')
+ ' ' + esc(a.text || "")
- + ' change the words'
+ + ' change the words or when they are said'
+ ''
- + ''
+ + (a.lip_sync ? '' : '')
+ + ''
+ (a.delivery ? ' ' + esc(a.delivery) + '' : '')
+ '
';
}).join("");
@@ -1528,7 +1533,9 @@
var lk = el.getAttribute("data-lineset"), lp = lk.split("|");
var lin = document.querySelector('[data-linetext="' + lk + '"]');
el.disabled = true;
- r = await act("set_line", { draft_id: CUR, shot_id: lp[0], index: Number(lp[1]), text: lin ? lin.value : "" });
+ var lwh = document.querySelector('[data-linewhen="' + lk + '"]');
+ r = await act("set_line", { draft_id: CUR, shot_id: lp[0], index: Number(lp[1]), text: lin ? lin.value : "",
+ say_at: lwh ? lwh.value : "" });
if (r) { showMsg("msg", "Saved. The voice will be recorded again with the new words the next time it is played or filmed.", "ok"); await refresh(); }
return;
}