Callbacks are now handled by url and operation type.

It would have been nicer to use the request, but it's unhashable.

Cl-541
This commit is contained in:
Jaime van Kessel 2017-11-20 15:12:29 +01:00
parent 03304003af
commit 61753540e4
4 changed files with 13 additions and 9 deletions

View file

@ -29,6 +29,12 @@ Cura.MachineAction
function connectToPrinter()
{
if(base.selectedDevice)
{
var deviceKey = base.selectedDevice.key
manager.setKey(deviceKey);
completed();
}
if(base.selectedPrinter && base.completeProperties)
{
var printerKey = base.selectedDevice.key