diff options
author | mrtnmtth <mrtn.mtth@gmx.de> | 2020-10-04 15:51:44 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-10-05 14:08:14 +0000 |
commit | aa989b777719c9284881be8cc61c9694d3c712e6 (patch) | |
tree | 00186d06d3f90a5fee7a79041134432b5fc0a3ec /apps/updatenotification | |
parent | 3759bef671ba50f8b444151908d7d71b48548642 (diff) | |
download | nextcloud-server-aa989b777719c9284881be8cc61c9694d3c712e6.tar.gz nextcloud-server-aa989b777719c9284881be8cc61c9694d3c712e6.zip |
Fix legacy update notifications
Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
Diffstat (limited to 'apps/updatenotification')
-rw-r--r-- | apps/updatenotification/js/legacy-notification.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/js/legacy-notification.js b/apps/updatenotification/js/legacy-notification.js index d45ba8793c4..8317a8daa3a 100644 --- a/apps/updatenotification/js/legacy-notification.js +++ b/apps/updatenotification/js/legacy-notification.js @@ -17,5 +17,5 @@ $(document).ready(function(){ var text = t('core', '{version} is available. Get more information on how to update.', {version: oc_updateState.updateVersion}), element = $('<a>').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text); - OC.Notification.showHtml(element, { type: 'error' }); + OC.Notification.showHtml(element.prop('outerHTML'), { type: 'error' }); }); |