diff options
author | Thomas Pulzer <t.pulzer@thesecretgamer.de> | 2016-07-04 22:57:10 +0200 |
---|---|---|
committer | Thomas Pulzer <t.pulzer@thesecretgamer.de> | 2016-07-04 22:57:10 +0200 |
commit | 52336b20385a2dadc80a33f2709edcce3547896f (patch) | |
tree | 4115a3f9585256eda5b50aca2457c7d289a40f1f /apps/updatenotification | |
parent | 77082c20a77c7202129600efbd74b8871b731ff5 (diff) | |
download | nextcloud-server-52336b20385a2dadc80a33f2709edcce3547896f.tar.gz nextcloud-server-52336b20385a2dadc80a33f2709edcce3547896f.zip |
Changed the creation of the update notification link to generate the js object from concated string.
Diffstat (limited to 'apps/updatenotification')
-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..d5463174e4c 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="'+docLink+'" target="_blank">'+text+'</a>'); OC.Notification.showTemporary( element, |