|
@@ -611,9 +611,9 @@ class SystemEventFu {
|
|
|
}
|
|
|
]
|
|
|
})
|
|
|
- showWidget(widgetUrl, lookup, otherParams) {
|
|
|
+ showWidget(widgetUrl, lookup, params) {
|
|
|
return function (sender, queryValue) {
|
|
|
- showWidget(widgetUrl, lookup, otherParams, sender, queryValue)
|
|
|
+ showWidget(widgetUrl, lookup, params, sender, queryValue)
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -681,7 +681,7 @@ export function clearViewModelByLookup(sender, lookup) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-export function showWidget(widgetUrl, lookup, otherParams, sender, queryValue, vjson = {}) {
|
|
|
+export function showWidget(widgetUrl, lookup, params, sender, queryValue, vjson = {}) {
|
|
|
const parentScope = lookupScope(sender)
|
|
|
const me = sender
|
|
|
|
|
@@ -696,7 +696,7 @@ export function showWidget(widgetUrl, lookup, otherParams, sender, queryValue, v
|
|
|
...parentScope.viewModel.data
|
|
|
}, lookup)
|
|
|
|
|
|
- _.map(otherParams, (value, key) => {
|
|
|
+ _.map(params, (value, key) => {
|
|
|
widgetDialogData[key] = value
|
|
|
})
|
|
|
|