Skip to content

Commit

Permalink
rockstor#1278 - Changed configure_services view - On submit successfu…
Browse files Browse the repository at this point in the history
…l or form cancel we go back to services hiding modal window
  • Loading branch information
MFlyer committed Nov 13, 2016
1 parent 574fcc4 commit c23ffe1
Showing 1 changed file with 2 additions and 6 deletions.
Expand Up @@ -345,9 +345,7 @@ To alert on temperature changes: <br> <strong>DEVICESCAN -W 4,35,40</strong> <br

jqxhr.done(function() {
enableButton(button);
app_router.navigate("services", {
trigger: true
});
$('#services_modal').modal('hide');
});

jqxhr.fail(function(xhr, status, error) {
Expand All @@ -364,9 +362,7 @@ To alert on temperature changes: <br> <strong>DEVICESCAN -W 4,35,40</strong> <br
cancel: function(event) {

event.preventDefault();
app_router.navigate("services", {
trigger: true
});
$('#services_modal').modal('hide');
},

toggleFormFields: function() {
Expand Down

0 comments on commit c23ffe1

Please sign in to comment.