Need to wrap the login javascript in a placeholder for Concorde
This commit is contained in:
@@ -109,11 +109,13 @@
|
||||
<asp:HiddenField ID="hf_height" runat="server" />
|
||||
<asp:HiddenField ID="hf_width" runat="server" />
|
||||
</form>
|
||||
<asp:PlaceHolder ID="loginJavascript" runat="server">
|
||||
<script type="text/javascript">
|
||||
jQuery("#<%= lname.ClientID %>").focus();
|
||||
jQuery('#<%= hf_height.ClientID %>').value = getViewportHeight();
|
||||
jQuery('#<%= hf_width.ClientID %>').value = getViewportWidth();
|
||||
</script>
|
||||
</asp:PlaceHolder>
|
||||
<asp:PlaceHolder Visible="false" ID="loginError" runat="server">
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function () {
|
||||
|
||||
@@ -109,11 +109,13 @@
|
||||
<asp:HiddenField ID="hf_height" runat="server" />
|
||||
<asp:HiddenField ID="hf_width" runat="server" />
|
||||
</form>
|
||||
<asp:PlaceHolder ID="loginJavascript" runat="server">
|
||||
<script type="text/javascript">
|
||||
jQuery("#<%= lname.ClientID %>").focus();
|
||||
jQuery('#<%= hf_height.ClientID %>').value = getViewportHeight();
|
||||
jQuery('#<%= hf_width.ClientID %>').value = getViewportWidth();
|
||||
</script>
|
||||
</asp:PlaceHolder>
|
||||
<asp:PlaceHolder Visible="false" ID="loginError" runat="server">
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function () {
|
||||
|
||||
@@ -156,6 +156,15 @@ namespace umbraco.cms.presentation {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hf_width;
|
||||
|
||||
/// <summary>
|
||||
/// loginJavascript control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder loginJavascript;
|
||||
|
||||
/// <summary>
|
||||
/// loginError control.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user