add more config parameters to share menu extension
This commit is contained in:
committed by
Caleb James DeLisle
parent
c31b5aa6c0
commit
05ad38cfe1
@@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user