Skip to content

TagSpaces is an offline, open source, document manager with tagging support

updatingg the setting for the json editor

Ilian7b95db2893e0
diff --git a/data/js/settings.api.js b/data/js/settings.api.js
index 536adc483..49a1dc025 100644
--- a/data/js/settings.api.js
+++ b/data/js/settings.api.js
@@ -274,7 +274,11 @@
}
);
}
-
+
+ if(oldBuildNumber <= 201407240000) {
+ addFileType({ "type": "json", "viewer": "editorJSON", "editor": "editorJSON" });
+ }
+
saveSettings();
}