diff options
author | Björn Schießle <bjoern@schiessle.org> | 2016-07-05 10:27:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-05 10:27:48 +0200 |
commit | 3ffe424985e345d1979c5c8ccbe1b11dc212c67d (patch) | |
tree | 2ff6e0474206193ef575d97d564258fa7377a7f9 /apps | |
parent | 0481a3eadf92b30339d443e94f570eebfcf4cce6 (diff) | |
parent | cf7afabf62d1e3f4c5856d7636e21496d7992257 (diff) | |
download | nextcloud-server-3ffe424985e345d1979c5c8ccbe1b11dc212c67d.tar.gz nextcloud-server-3ffe424985e345d1979c5c8ccbe1b11dc212c67d.zip |
Merge pull request #309 from Faldon/master
Changed the creation of the update notification link
Diffstat (limited to 'apps')
-rw-r--r-- | apps/updatenotification/js/notification.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/js/notification.js b/apps/updatenotification/js/notification.js index 810b9c168af..913a59e042c 100644 --- a/apps/updatenotification/js/notification.js +++ b/apps/updatenotification/js/notification.js @@ -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, |