Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Refix share link
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 20, 2014
1 parent 186a601 commit e830750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/action.share/manifest.xml
Expand Up @@ -484,7 +484,7 @@
if(staticClass.getRESTPreviewLinks){
var links = staticClass.getRESTPreviewLinks(node);
$H(links).each(function(pair){
modal.getForm().down("#additional_links").insert(tpl.evaluate({title:pair.key,link:document.location.href + "?dl=true&ct=true"+pair.value}));
modal.getForm().down("#additional_links").insert(tpl.evaluate({title:pair.key,link:document.location.href.split('?').shift() + "?dl=true&ct=true"+pair.value}));
});
}
}
Expand Down

0 comments on commit e830750

Please sign in to comment.