-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed an issue where it was impossible to edit html on child portals #4828
Conversation
Fixed an issue where it was impossible to edit html on child portals. Closes dnnsoftware#4791
- Removes unhelpful comments on private methods - Renames some variables and methods for better code clarity - Updates some comments on public methods - Removes commented out code
// cloudservices variables need to be set regardless | ||
this.settings.Add("cloudServices_tokenUrl", "/API/CKEditorProvider/CloudServices/GetToken"); | ||
var tokenUrl = ServicesFramework.GetServiceFrameworkRoot() + "API/CKEditorProvider/CloudServices/GetToken"; | ||
this.settings.Add("cloudServices_tokenUrl", tokenUrl); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh, my commits got mixed up, the end result is still fine but this is basically the fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And thanks to @bdukes for the hint on the simpler solution than I had in head 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/// <returns> | ||
/// Returns if it has rendered text area. | ||
/// </returns> | ||
/// <param name="control">The control to ckeck.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// <param name="control">The control to ckeck.</param> | |
/// <param name="control">The control to check.</param> |
@@ -804,7 +757,7 @@ public bool LoadPostData(string postDataKey, NameValueCollection postCollection) | |||
} | |||
|
|||
/// <summary> | |||
/// The raise post data changed event. | |||
/// Taises post data changed event. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Taises post data changed event. | |
/// Raises the post data changed event. |
Fixed an issue where it was impossible to edit html on child portals.
Closes #4791
I have also cleaned up the file a bit
For an easier review, the bug is the first commit and the other commits are cleanup.