Yet more debugging

This commit is contained in:
Falkvinge
2016-11-23 19:02:07 +01:00
parent 2a4b1970d4
commit b607ba0e54
3 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -104,12 +104,12 @@
}
function <%=this.ClientID%>_setValue(newValue) {
$('#<%=this.ClientID%>_sliderContainer').toggles({ on: newValue }, true, true);
$('#<%=this.ClientID%>_sliderContainer').data('toggles').toggle(newValue, true, true);
}
function <%=this.ClientID%>_initialize(initValue) {
_initVal_<%=this.SliderCheckbox.ClientID%> = initValue;
$('#<%=this.ClientID%>_sliderContainer').toggles({ on: initValue }, true, true);
<%=this.ClientID%>_setValue(initValue);
<%=this.ClientID%>_enable();
}
+2 -2
View File
@@ -250,7 +250,7 @@
<h2><span class="spanModalEditingPersonName">PERSONNAME</span>: <asp:Label runat="server" ID="MasterLabelEditPersonHeaderSecurity" Text="#Your Security#"/></h2>
<div class="entryFields">
<Swarmops5:AjaxTextBox ID="MasterEditPersonCurrentPassword" runat="server" Mode="Password" OnKeyDown="masterPersonEditorOnSecurityPasswordKeyDown" OnChanging="masterPersonEditorOnSecurityPasswordChanging" Cookie="CurrentPassword" AjaxCallbackUrl="" />&#8203;<br/>
<div class="divMasterPersonEditSecurityRolldown" style="display:none">&#8203;<br/>
<div class="divMasterPersonEditSecurityRolldown" style="display:none"><Swarmops5:AjaxToggleSlider ID="MasterEditPerson2FA" runat="server" Label="BitID Two-factor auth" OnChange="masterPersonEditor2FAToggle" Cookie="2FA" AjaxCallbackUrl="" />&#8203;<br/>
<Swarmops5:AjaxTextBox ID="MasterEditPersonNewPassword1" runat="server" Mode="Password" OnChanging="masterPersonEditorOnSecurityNewPasswordChanging" Cookie="Password1" AjaxCallbackUrl="" />&#8203;<br/>
<Swarmops5:AjaxTextBox ID="MasterEditPersonNewPassword2" runat="server" Mode="Password" OnChanging="masterPersonEditorOnSecurityNewPasswordChanging" Cookie="Password2" AjaxCallbackUrl="" />
</div>
@@ -485,7 +485,7 @@
<%= this.MasterEditPersonPhone.ClientID %>_initialize(data.Phone);
<%= this.MasterEditPersonTwitterId.ClientID %>_initialize(data.TwitterId);
<%= this.MasterEditPerson2FA.ClientID%>_initialize(data.TwoFactorActive);
<%= this.MasterEditPerson2FAProvisioning.ClientID %>_initialize(data.TwoFactorActive);
_master_PersonEditLoading = false;
+9
View File
@@ -381,6 +381,15 @@ namespace Swarmops.Frontend {
/// </remarks>
protected global::Swarmops.Frontend.Controls.Base.AjaxTextBox MasterEditPersonCurrentPassword;
/// <summary>
/// MasterEditPerson2FA control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Swarmops.Frontend.Controls.Base.AjaxToggleSlider MasterEditPerson2FA;
/// <summary>
/// MasterEditPersonNewPassword1 control.
/// </summary>