clear script cache before revalidation, otherwise a script change in the edit dialog does not work

This commit is contained in:
2016-07-30 17:12:34 +02:00
parent f173089b14
commit 82c9c336f8
2 changed files with 5 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ public class CSVModel {
if (!hasValidator()) return; if (!hasValidator()) return;
validator.clearScriptCache();
revalidationService.setHeader(header); revalidationService.setHeader(header);
revalidationService.setRows(rows); revalidationService.setRows(rows);
revalidationService.setValidator(validator); revalidationService.setValidator(validator);

View File

@@ -252,4 +252,8 @@ public class Validator {
} }
return result; return result;
} }
public void clearScriptCache() {
scriptCache.clear();
}
} }