diff --git a/lib/browser/modules/image-writer.js b/lib/browser/modules/image-writer.js index 21ae82e7..28dc6e34 100644 --- a/lib/browser/modules/image-writer.js +++ b/lib/browser/modules/image-writer.js @@ -114,10 +114,8 @@ imageWriter.service('ImageWriterService', function($q, $timeout) { * }); */ this.burn = function(image, drive, onProgress) { - - // Avoid writing more than once if (self.isBurning()) { - return; + return $q.reject(new Error('There is already a burn in progress')); } self.setBurning(true); diff --git a/lib/components/hero-progress-button.html b/lib/components/hero-progress-button.html index 37ae8eec..89d78ea8 100644 --- a/lib/components/hero-progress-button.html +++ b/lib/components/hero-progress-button.html @@ -5,7 +5,7 @@