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:07:51 +0000 |
commit | 608fab37412d6e94fd4acef302807cd79bbcaa24 (patch) | |
tree | 1b4bc7c9ab43ca17402f4b13d553ef3f9d2cd230 | |
parent | 615b994816710a595243d704c9be445f736b4b41 (diff) | |
download | nextcloud-server-608fab37412d6e94fd4acef302807cd79bbcaa24.tar.gz nextcloud-server-608fab37412d6e94fd4acef302807cd79bbcaa24.zip |
Fix legacy update notifications
Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
-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 39d0d8920de..7480505d8be 100644 --- a/apps/updatenotification/js/legacy-notification.js +++ b/apps/updatenotification/js/legacy-notification.js @@ -17,5 +17,5 @@ window.addEventListener('DOMContentLoaded', 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' }); }); |