Browse Source

Changed the creation of the update notification link to generate the js object from concated string.

pull/350/head
Thomas Pulzer 10 years ago
parent
commit
52336b2038
  1. 2
      apps/updatenotification/js/notification.js

2
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,

Loading…
Cancel
Save