diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-04 13:08:55 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-04 13:08:55 -0400 |
commit | 226af11f33e90305d20e0ac3c5fce223b3f98263 (patch) | |
tree | 14bb113d076dec2caf30b5ab6c09dd3307902a18 /settings | |
parent | da4057ecfd25c2de9267586acb7e5d902b386300 (diff) | |
download | nextcloud-server-226af11f33e90305d20e0ac3c5fce223b3f98263.tar.gz nextcloud-server-226af11f33e90305d20e0ac3c5fce223b3f98263.zip |
reset version number when not specified - again bug oc-1433
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/apps.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index cfef894c6fb..7b608956ed3 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -20,7 +20,11 @@ $(document).ready(function(){ $('#rightcontent p.license').show(); $('#rightcontent span.name').text(app.name); $('#rightcontent small.externalapp').text(app.internallabel); - $('#rightcontent span.version').text(app.version); + if (app.version) { + $('#rightcontent span.version').text(app.version); + } else { + $('#rightcontent span.version').text(''); + } $('#rightcontent p.description').text(app.description); $('#rightcontent img.preview').attr('src',app.preview); $('#rightcontent small.externalapp').attr('style','visibility:visible'); |