diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-21 18:00:03 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-21 18:00:03 -0700 |
commit | 1eecc1a10763c85c20f9e02d2b40bddf9c8d950c (patch) | |
tree | 9649522dc36d5bdbeb703733cbe5d19d61b6cf8d /src | |
parent | a05c016a9c73ba3c1d880e2f60be504bcbc36104 (diff) | |
download | DotNetOpenAuth-1eecc1a10763c85c20f9e02d2b40bddf9c8d950c.zip DotNetOpenAuth-1eecc1a10763c85c20f9e02d2b40bddf9c8d950c.tar.gz DotNetOpenAuth-1eecc1a10763c85c20f9e02d2b40bddf9c8d950c.tar.bz2 |
Replaced a couple of dnoi_ prefixes with dnoa_.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs index a24b968..0c87b1f 100644 --- a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs +++ b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs @@ -292,12 +292,12 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { /// <summary> /// The callback parameter to use for recognizing when the callback is in a popup window. /// </summary> - private const string UIPopupCallbackKey = "dnoa.uipopup"; + private const string UIPopupCallbackKey = OpenIdUtilities.CustomParameterPrefix + "uipopup"; /// <summary> /// The callback parameter to use for recognizing when the callback is in the parent window. /// </summary> - private const string UIPopupCallbackParentKey = "dnoa.uipopupParent"; + private const string UIPopupCallbackParentKey = OpenIdUtilities.CustomParameterPrefix + "uipopupParent"; /// <summary> /// The callback parameter for use with persisting the <see cref="UsePersistentCookie"/> property. @@ -1235,8 +1235,8 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { // Add a callback function that the popup window can call on this, the // parent window, to pass back the authentication result. - startupScript.AppendLine("window.dnoi_internal = new Object();"); - startupScript.AppendLine("window.dnoi_internal.processAuthorizationResult = function(uri) { window.location = uri; };"); + startupScript.AppendLine("window.dnoa_internal = new Object();"); + startupScript.AppendLine("window.dnoa_internal.processAuthorizationResult = function(uri) { window.location = uri; };"); // Open the popup window. startupScript.AppendFormat( @@ -1251,7 +1251,7 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { /// </summary> private void ScriptClosingPopup() { StringBuilder startupScript = new StringBuilder(); - startupScript.AppendLine("window.opener.dnoi_internal.processAuthorizationResult(document.URL + '&" + UIPopupCallbackParentKey + "=1');"); + startupScript.AppendLine("window.opener.dnoa_internal.processAuthorizationResult(document.URL + '&" + UIPopupCallbackParentKey + "=1');"); startupScript.AppendLine("window.close();"); this.Page.ClientScript.RegisterStartupScript(this.GetType(), "loginPopupClose", startupScript.ToString(), true); |