diff --git a/apps/files/files.js b/apps/files/files.js index 6ccbe80df..ab259d6df 100644 --- a/apps/files/files.js +++ b/apps/files/files.js @@ -201,7 +201,7 @@ function showSortAppsManually() { function setSortorder(app, val) { app = store.readJSON(app.id + '.info', 1); app.sortorder = val; - store.writeJSON(app.id + '.info', app); + store.write(app.id + '.info', JSON.stringify(app)); } function getAppsList() {