Make use of LoggerService in reselection routines

This commit is contained in:
Juan Cruz Viotti 2016-01-19 10:25:13 -04:00
parent f20fb36328
commit 7d6a43e091
2 changed files with 4 additions and 4 deletions

View File

@ -106,7 +106,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
// "returns" to the first step. // "returns" to the first step.
self.selection.clear(); self.selection.clear();
console.debug('Reselecting image'); LoggerService.debug('Reselecting image');
}; };
this.reselectDrive = function() { this.reselectDrive = function() {
@ -115,7 +115,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
} }
self.selection.removeDrive(); self.selection.removeDrive();
console.debug('Reselecting drive'); LoggerService.debug('Reselecting drive');
}; };
this.burn = function(image, drive) { this.burn = function(image, drive) {

View File

@ -105,7 +105,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
// "returns" to the first step. // "returns" to the first step.
self.selection.clear(); self.selection.clear();
console.debug('Reselecting image'); LoggerService.debug('Reselecting image');
}; };
this.reselectDrive = function() { this.reselectDrive = function() {
@ -114,7 +114,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
} }
self.selection.removeDrive(); self.selection.removeDrive();
console.debug('Reselecting drive'); LoggerService.debug('Reselecting drive');
}; };
this.burn = function(image, drive) { this.burn = function(image, drive) {