[FIX] website_link: fix zeroClipboard config
ZeroClipboard lib has been moved from web to website_link but config file has been not updated.
This commit is contained in:
@@ -249,7 +249,7 @@ if(!$('.o_website_links_create_tracked_url').length) {
|
|||||||
|
|
||||||
base.ready().done(function() {
|
base.ready().done(function() {
|
||||||
|
|
||||||
ZeroClipboard.config({swfPath: location.origin + "/web/static/lib/zeroclipboard/ZeroClipboard.swf" });
|
ZeroClipboard.config({swfPath: location.origin + "/website_links/static/lib/zeroclipboard/ZeroClipboard.swf" });
|
||||||
|
|
||||||
// UTMS selects widgets
|
// UTMS selects widgets
|
||||||
var campaign_select = new SelectBox('utm.campaign');
|
var campaign_select = new SelectBox('utm.campaign');
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ if(!$('.o_website_links_chart').length) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Copy to clipboard link
|
// Copy to clipboard link
|
||||||
ZeroClipboard.config({swfPath: location.origin + "/web/static/lib/zeroclipboard/ZeroClipboard.swf" });
|
ZeroClipboard.config({swfPath: location.origin + "/website_links/static/lib/zeroclipboard/ZeroClipboard.swf" });
|
||||||
new ZeroClipboard($('.copy-to-clipboard'));
|
new ZeroClipboard($('.copy-to-clipboard'));
|
||||||
|
|
||||||
var animating_copy = false;
|
var animating_copy = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user