From 1d04843ef07abe16132badc4d062a1321a18d211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 28 Aug 2013 22:42:43 +0200 Subject: [PATCH] no duplicate declaration of appLicense + camelCase --- settings/js/apps.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/settings/js/apps.js b/settings/js/apps.js index 3372d769bd3..1ae45932172 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -29,14 +29,13 @@ OC.Settings.Apps = OC.Settings.Apps || { page.find('span.author').text(app.author); // FIXME licenses of downloaded apps go into app.licence, licenses of not-downloaded apps into app.license + var appLicense = ''; if (typeof(app.licence) !== 'undefined') { - var applicense = app.licence; + appLicense = app.licence; } else if (typeof(app.license) !== 'undefined') { - var applicense = app.license; - } else { - var applicense = ''; + appLicense = app.license; } - page.find('span.licence').text(applicense); + page.find('span.licence').text(appLicense); if (app.update !== false) { page.find('input.update').show();