diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index 76062a5c3..52b414194 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -499,6 +499,8 @@ define([ if (typeof(Config.customizeShareOptions) === 'function') { Config.customizeShareOptions(hashes, options, { type: 'DEFAULT', + origin: origin, + pathname: pathname }); } var dropdownConfigShare = { @@ -590,7 +592,9 @@ define([ if (typeof(Config.customizeShareOptions) === 'function') { Config.customizeShareOptions(hashes, options, { - type: 'FILE' + type: 'FILE', + origin: origin, + pathname: pathname }); }