Skip to content
Snippets Groups Projects
Unverified Commit f3eb9eeb authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #7791 from nextcloud/bugfix/noid/fix-update-notification

Fix displaying of the HTML update notification
parents cc410fb9 fd19d944
No related branches found
No related tags found
No related merge requests found
...@@ -17,10 +17,5 @@ $(document).ready(function(){ ...@@ -17,10 +17,5 @@ $(document).ready(function(){
var text = t('core', '{version} is available. Get more information on how to update.', {version: oc_updateState.updateVersion}), 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); element = $('<a>').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text);
OC.Notification.show(element, OC.Notification.showHtml(element, { type: 'error' });
{
isHTML: true,
type: 'error'
}
);
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment