diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-10-06 13:28:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 13:28:37 +0200 |
commit | 8f5adecb3bd254af5a285be5833d3ec09051b127 (patch) | |
tree | 5b6745cbd267a6cef1b56c22b89cab7d18c636cd | |
parent | c75378ac867498c9f1128df6414359c356074a37 (diff) | |
parent | aa989b777719c9284881be8cc61c9694d3c712e6 (diff) | |
download | nextcloud-server-8f5adecb3bd254af5a285be5833d3ec09051b127.tar.gz nextcloud-server-8f5adecb3bd254af5a285be5833d3ec09051b127.zip |
Merge pull request #23196 from nextcloud/backport/23175/stable19
[stable19] Fix legacy update notifications
-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' }); }); |