Apple Windows crash fix
This commit is contained in:
@@ -114,7 +114,9 @@ exports.onPrintTaskRequested = function (event) {
|
||||
task.options.duplex = Printing.PrintDuplex.oneSided;
|
||||
}
|
||||
|
||||
task.options.numberOfCopies = config.copies || 1;
|
||||
try {
|
||||
task.options.numberOfCopies = config.copies || 1;
|
||||
} catch (e) {}
|
||||
|
||||
task.oncompleted = function (e) {
|
||||
exports._func(e.detail[0].completion == 3);
|
||||
|
Reference in New Issue
Block a user