diff options
Diffstat (limited to 'templates/sysconfig/ad-checkconnection.html')
-rw-r--r-- | templates/sysconfig/ad-checkconnection.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/sysconfig/ad-checkconnection.html b/templates/sysconfig/ad-checkconnection.html index 0a1a8103..471208e8 100644 --- a/templates/sysconfig/ad-checkconnection.html +++ b/templates/sysconfig/ad-checkconnection.html @@ -8,7 +8,7 @@ </div> <br> <div class="pull-left"> - <form role="form" method="post" action="?do=SysConfig&action=addmodule&step=AdModule_Start"> + <form role="form" method="post" action="?do=SysConfig&action=addmodule&step=AdAuth_Start"> <input type="hidden" name="token" value="{{token}}"> <input name="title" value="{{title}}" type="hidden"> <input name="server" value="{{server}}" type="hidden"> @@ -29,7 +29,7 @@ <input name="bindpw" value="{{bindpw}}" type="hidden"> <input name="home" value="{{home}}" type="hidden"> <input name="originalbinddn" value="{{binddn}}" type="hidden"> - <button id="nextbutton" type="submit" class="btn btn-primary">{{lang_skip}} »</button> + <button id="nextbutton" type="submit" class="btn btn-primary" style="display:none">{{lang_skip}} »</button> </form> </div> <script type="text/javascript"> @@ -38,11 +38,14 @@ if (!task || !task.statusCode) return; if (task.statusCode === 'TASK_FINISHED') { - $('#nextbutton').html('Weiter »'); + $('#nextbutton').html('Weiter »').show(); } if (task.statusCode === 'TASK_ERROR' || task.statusCode === 'PARENT_FAILED') { $('#nextbutton').html('Trotzdem weiter »'); } + if (task.statusCode === 'TASK_ERROR') { + $('#nextbutton').show(); + } } function selfCb(task) { |