add more config parameters to share menu extension

pull/1/head
ansuz 2018-01-10 12:52:18 +01:00
parent 480ba32d78
commit 3075840e6c
1 changed files with 5 additions and 1 deletions

View File

@ -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
});
}