Skip to content

Commit

Permalink
Merge pull request #309 from Faldon/master
Browse files Browse the repository at this point in the history
Changed the creation of the update notification link
  • Loading branch information
schiessle authored Jul 5, 2016
2 parents 0481a3e + cf7afab commit 3ffe424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/updatenotification/js/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $(document).ready(function(){
version = oc_updateState.updateVersion,
docLink = oc_updateState.updateLink,
text = t('core', '{version} is available. Get more information on how to update.', {version: version}),
element = $('<a>').attr('href', docLink).attr('target','_blank').text(text);
element = $('<a href="'+escapeHTML(docLink)+'" target="_blank">'+escapeHTML(text)+'</a>');

OC.Notification.showTemporary(
element,
Expand Down

0 comments on commit 3ffe424

Please sign in to comment.