Change pick() to accept ui options instead of general options
This commit is contained in:
parent
10645a709b
commit
ee38edb616
@ -142,7 +142,7 @@ exports.getPrintableTypes = function (callback, scope)
|
||||
/**
|
||||
* Displays system interface for selecting a printer.
|
||||
*
|
||||
* @param [ Object ] options Optional options.
|
||||
* @param [ Object ] options Optional ui options.
|
||||
* @param [ Function ] callback The callback function.
|
||||
* @param [ Object ] scope The scope for the function.
|
||||
*
|
||||
@ -158,7 +158,7 @@ exports.pick = function (options, callback, scope)
|
||||
}
|
||||
|
||||
var fn = this._createCallbackFn(callback, scope),
|
||||
params = this._mergeWithDefaults(options || {});
|
||||
params = this._mergeWithDefaults({ ui: options });
|
||||
|
||||
if (isIOS)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user