Merge pull request #413 from jl-cs/feature/app-sorting
Switch from writeJSON to write to possibly mitigate memory leak in writeJSONmaster
commit
e611505b87
|
|
@ -201,7 +201,7 @@ function showSortAppsManually() {
|
||||||
function setSortorder(app, val) {
|
function setSortorder(app, val) {
|
||||||
app = store.readJSON(app.id + '.info', 1);
|
app = store.readJSON(app.id + '.info', 1);
|
||||||
app.sortorder = val;
|
app.sortorder = val;
|
||||||
store.writeJSON(app.id + '.info', app);
|
store.write(app.id + '.info', JSON.stringify(app));
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAppsList() {
|
function getAppsList() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue