From 2608b0f66e92a7b4f3dd530e0d6fda6bb80c3819 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 27 Apr 2020 16:47:03 +0200 Subject: [PATCH] Comment out inactive code --- www/common/sframe-app-framework.js | 2 ++ www/pad/comments.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/www/common/sframe-app-framework.js b/www/common/sframe-app-framework.js index 24e7d0abd..5cccc6cba 100644 --- a/www/common/sframe-app-framework.js +++ b/www/common/sframe-app-framework.js @@ -289,9 +289,11 @@ define([ throw new Error("Content must be an object or array, type is " + typeof(content)); } + /* if (padChange && hasChanged(content)) { //cpNfInner.metadataMgr.addAuthor(); } + */ oldContent = content; if (Array.isArray(content)) { diff --git a/www/pad/comments.js b/www/pad/comments.js index d881ba2fd..c777a4dc4 100644 --- a/www/pad/comments.js +++ b/www/pad/comments.js @@ -397,7 +397,7 @@ define([ } } else if (Env.ready) { // Everytime there is a metadata change, check if our user data have changed - // and puhs the update sif necessary + // and push the updates if necessary updateAuthorData(Env, function () { updateMetadata(Env); Env.framework.localChange();