add more config parameters to share menu extension

This commit is contained in:
ansuz 2018-01-10 12:52:18 +01:00
parent 480ba32d78
commit 3075840e6c

View File

@ -499,6 +499,8 @@ define([
if (typeof(Config.customizeShareOptions) === 'function') { if (typeof(Config.customizeShareOptions) === 'function') {
Config.customizeShareOptions(hashes, options, { Config.customizeShareOptions(hashes, options, {
type: 'DEFAULT', type: 'DEFAULT',
origin: origin,
pathname: pathname
}); });
} }
var dropdownConfigShare = { var dropdownConfigShare = {
@ -590,7 +592,9 @@ define([
if (typeof(Config.customizeShareOptions) === 'function') { if (typeof(Config.customizeShareOptions) === 'function') {
Config.customizeShareOptions(hashes, options, { Config.customizeShareOptions(hashes, options, {
type: 'FILE' type: 'FILE',
origin: origin,
pathname: pathname
}); });
} }