Merge pull request #23196 from nextcloud/backport/23175/stable19

[stable19] Fix legacy update notifications
This commit is contained in:
Roeland Jago Douma 2020-10-06 13:28:37 +02:00 committed by GitHub
commit 8f5adecb3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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' });
});