switch on the fan in focus mode as well.

This commit is contained in:
Teja 2015-02-11 18:17:41 +01:00
parent 6cc9d33b44
commit a9fd363f45

View file

@ -141,13 +141,14 @@ function ControlViewModel(loginStateViewModel, settingsViewModel, printerStateVi
function(e) {
e.preventDefault();
$("#confirmation_dialog").modal("hide");
self.sendCustomCommand({type:'command',command:'M3S10'});
self.sendCustomCommand({type:'commands', commands:['M8', 'M3S7']});
});
$("#confirmation_dialog").modal("show");
};
self.focus_off = function(){
self.sendCustomCommand({type:'command',command:'M5'});
// self.sendCustomCommand({type:'command',command:'M5'});
self.sendCustomCommand({type:'commands', commands:['M5', 'M9']});
};
self.sendJogCommand = function(axis, multiplier, distance) {