add more config parameters to share menu extension
This commit is contained in:
parent
480ba32d78
commit
3075840e6c
@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user