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

Fix displaying of the HTML update notification
This commit is contained in:
Morris Jobke 2018-01-11 14:23:33 +01:00 committed by GitHub
commit f3eb9eeb1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}),
element = $('<a>').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text);
OC.Notification.show(element,
{
isHTML: true,
type: 'error'
}
);
OC.Notification.showHtml(element, { type: 'error' });
});