소스 검색

save cdb scripts on every change

trethaller 4 년 전
부모
커밋
2757a051e2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      hide/comp/cdb/ScriptTable.hx

+ 1 - 0
hide/comp/cdb/ScriptTable.hx

@@ -59,6 +59,7 @@ class ScriptTable extends SubTable {
 		]);
 		script = new ScriptEditor(cell.value, checker, div);
 		script.onSave = saveValue;
+		script.onChanged = saveValue;
 		script.propagateKeys = true;
 		script.onClose = function() { close(); cell.focus(); }
 		lines = [new Line(this,[],0,script.element)];