Skip to content

Commit

Permalink
set js error if divert mode cannot be set
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson committed May 21, 2017
1 parent c44af71 commit c95ef7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function OpenEvseViewModel() {
$.post(baseEndpoint + "/divertmode", { divertmode: divertmode }, function (data) {
self.changeDivertModeSuccess(true);
}).fail(function () {
alert("Failed to save Ohm key config");
alert("Failed to set divert mode");
}).always(function () {
self.changeDivertModeFetching(false);
});
Expand Down

0 comments on commit c95ef7d

Please sign in to comment.