summaryrefslogtreecommitdiffstats
path: root/templates/sysconfig/ad-checkconnection.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sysconfig/ad-checkconnection.html')
-rw-r--r--templates/sysconfig/ad-checkconnection.html9
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&amp;action=addmodule&amp;step=AdModule_Start">
+ <form role="form" method="post" action="?do=SysConfig&amp;action=addmodule&amp;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}} &raquo;</button>
+ <button id="nextbutton" type="submit" class="btn btn-primary" style="display:none">{{lang_skip}} &raquo;</button>
</form>
</div>
<script type="text/javascript">
@@ -38,11 +38,14 @@
if (!task || !task.statusCode)
return;
if (task.statusCode === 'TASK_FINISHED') {
- $('#nextbutton').html('Weiter &raquo;');
+ $('#nextbutton').html('Weiter &raquo;').show();
}
if (task.statusCode === 'TASK_ERROR' || task.statusCode === 'PARENT_FAILED') {
$('#nextbutton').html('Trotzdem weiter &raquo;');
}
+ if (task.statusCode === 'TASK_ERROR') {
+ $('#nextbutton').show();
+ }
}
function selfCb(task)
{