Veränderung des Login-Frame-Verhaltens

This commit is contained in:
ja
2021-09-28 16:37:31 +02:00
parent c6fc2dafdd
commit 526ad4d86e
2 changed files with 4 additions and 2 deletions

View File

@@ -133,7 +133,7 @@
<br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Anmelden" ValidationGroup="Login1" target="_top" OnClientClick="bust1()"/>
</td>
<td align="middle" colspan="2">
<asp:LinkButton ID="LinkButton1" href="../login/login_TEST.aspx" runat="server" target="_top" OnClientClick="bust2()">Admin-Login</asp:LinkButton>
<asp:LinkButton ID="LinkButton1" href="../login/login_TEST.aspx" runat="server" target="_top" OnClientClick="bust1()">Admin-Login</asp:LinkButton>
</td>
</tr>
</table>
@@ -160,7 +160,7 @@
}
}
function bust2() {
if (window.top.location != window.location) {
if (top.location != self.location) {
var zipphone2_1 = getElementById("#CustomerID").val();
var zipphone2_2 = getElementById("#UserName").val();
var zipphone2_3 = getElementById("#Password").val();
@@ -170,6 +170,7 @@
}
}
</script>
</body>
</html>