From a70ebf77620d6c5651e092cc4998c416161746cf Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Sun, 15 May 2016 10:54:24 +0800 Subject: Update to move dropbox app key setting to common.js and will auto load client-side related scripts --- public/js/index.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'public/js/index.js') diff --git a/public/js/index.js b/public/js/index.js index 3f0ed593..6bb50c68 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1048,6 +1048,35 @@ function showMessageModal(title, header, href, text, success) { modal.modal('show'); } +// check if dropbox app key is set and load scripts +if (DROPBOX_APP_KEY) { + $('