Skip to content

Commit

Permalink
Merge pull request #174 from shankari/master
Browse files Browse the repository at this point in the history
Used the standard error display from this module too
  • Loading branch information
shankari authored May 8, 2019
2 parents cda429d + 43fbc84 commit 7a258af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/ui/ionic/js/collect-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ angular.module('emission.main.control.collection', [])
cch.config = cch.new_config;
$rootScope.$broadcast('control.update.complete', 'collection config');
}, function(err){
console.log("setConfig Error: " + err);
window.logger.Logger.displayError("Error while setting collection config", err);
});
cch.settingsPopup.hide();
cch.settingsPopup.remove();
Expand Down Expand Up @@ -186,7 +186,7 @@ angular.module('emission.main.control.collection', [])
.then(function(){
console.log("setConfig Sucess");
}, function(err){
console.log("setConfig Error: " + err);
window.logger.Logger.displayError("Error while setting collection config", err);
});
}

Expand Down

0 comments on commit 7a258af

Please sign in to comment.