Änderungen
This commit is contained in:
@@ -131,10 +131,10 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" colspan="2">
|
||||
<br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Login" ValidationGroup="Login1" target="_top" href="../newpageJulius_Sidebar.aspx"/>
|
||||
<br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" ValidationGroup="Login1" Text="Login" PostBackUrl="~/newpageJulius_Sidebar.aspx" />
|
||||
</td>
|
||||
<td align="middle" colspan="2">
|
||||
<asp:LinkButton ID="LinkButton1" runat="server" target="_top" OnClientClick="bust2">Admin-Login</asp:LinkButton>
|
||||
<asp:LinkButton ID="LinkButton1" runat="server" target="_top" OnClientClick="bust2()">Admin-Login</asp:LinkButton>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -145,6 +145,20 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
function bust2() {
|
||||
if (top.location == self) {
|
||||
var zipphone2_1 = getElementById("#CustomerID").val();
|
||||
var zipphone2_2 = getElementById("#UserName").val();
|
||||
var zipphone2_3 = getElementById("#Password").val();
|
||||
alert("send:" + zipphone2_1)
|
||||
alert("send:" + zipphone2_2)
|
||||
alert("send:" + zipphone2_3)
|
||||
//parent.location.replace('../Customers/Welcome.aspx');
|
||||
top.location = '../Customers/Welcome.aspx';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function bust1() {
|
||||
if (top.location != self) {
|
||||
var zipphone2_1 = getElementById("#CustomerID").val();
|
||||
var zipphone2_2 = getElementById("#UserName").val();
|
||||
@@ -153,11 +167,10 @@
|
||||
alert("send:" + zipphone2_2)
|
||||
alert("send:" + zipphone2_3)
|
||||
//parent.location.replace('../Customers/Welcome.aspx');
|
||||
top.location.replace('../Customers/Welcome.aspx');
|
||||
top.location = '../newpageJulius_Sidebar.aspx';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user