|
@@ -172,7 +172,7 @@ class Ide {
|
|
|
// handle cancel on type=file
|
|
|
haxe.Timer.delay(function() new Element(body).find("input[type=file]").change().remove(), 200);
|
|
|
|
|
|
- if(fileExists(databaseFile) && getFile(databaseFile).toString() != lastDBContent) {
|
|
|
+ if(fileExists(databaseFile) && getFileText(databaseFile) != lastDBContent) {
|
|
|
if(js.Browser.window.confirm(databaseFile + " has changed outside of Hide. Do you want to reload?")) {
|
|
|
loadDatabase(true);
|
|
|
hide.comp.cdb.Editor.refreshAll(true);
|