Callback support for windows platform

This commit is contained in:
Sebastián Katzer 2016-07-31 14:24:24 +02:00
parent 2472d7208a
commit afaa6cd60d

View File

@ -91,6 +91,10 @@ exports.onPrintTaskRequested = function (event) {
task = event.request.createPrintTask(config.name, function (args) {
args.setSource(exports._page);
});
task.oncompleted = function (e) {
exports._func(e.detail[0].completion == 3);
};
};
PrintManager.getForCurrentView()