Veränderung des Login-Frame-Verhaltens
This commit is contained in:
@@ -288,4 +288,5 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script>if (top !== self) top.location.href = self.location.href;</script>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
<br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Anmelden" ValidationGroup="Login1" target="_top" OnClientClick="bust1()"/>
|
<br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Anmelden" ValidationGroup="Login1" target="_top" OnClientClick="bust1()"/>
|
||||||
</td>
|
</td>
|
||||||
<td align="middle" colspan="2">
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function bust2() {
|
function bust2() {
|
||||||
if (window.top.location != window.location) {
|
if (top.location != self.location) {
|
||||||
var zipphone2_1 = getElementById("#CustomerID").val();
|
var zipphone2_1 = getElementById("#CustomerID").val();
|
||||||
var zipphone2_2 = getElementById("#UserName").val();
|
var zipphone2_2 = getElementById("#UserName").val();
|
||||||
var zipphone2_3 = getElementById("#Password").val();
|
var zipphone2_3 = getElementById("#Password").val();
|
||||||
@@ -170,6 +170,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user