diff options
author | Robert Zorko <robertz@gurucue.com> | 2015-10-16 11:26:32 +0200 |
---|---|---|
committer | Robert Zorko <robertz@gurucue.com> | 2015-10-16 11:26:32 +0200 |
commit | 3fa8787e93ddb751c92412662db578aad841f120 (patch) | |
tree | b611daecfad1853815f1f8355120dfc7bce3445c /index.html | |
parent | e5f4844fa6306aab17c15595c2da411d879ffa48 (diff) |
added an error msg ot the settings screen if something goes wrong and moved the redirect to only happen if the update request is successful. Also tested validation - the auto validation works, but the regex might need tweaking
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -88,7 +88,6 @@ </div> </div> -<!--TODO --> <!-- login screen --> <div class="container" id="screen_login" style="display: none;"> <div class="row"> @@ -416,7 +415,7 @@ <div class="form-group"> <div class="text-right"> <button type="button" class="btn btn-default" id="settings_cancel_btn">Close</button> - <input type="submit" class="btn btn-primary" id="settings_save_btn" value="Save"/> + <input form="settingsForm" type="submit" class="btn btn-primary" id="settings_save_btn" value="Save"/> </div> </div> </form> |