You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing an extension that lazy loads children from an HTML source and then runs the UL structure through the parseHTML function in the postProcess hook. It doesn't work though because line 2655 in the dfd.done function raises an exception if the data returned from the Ajax call is a string, but this exception should really only occur if the Ajax dataType option is "json".
The text was updated successfully, but these errors were encountered:
Thanks, pull request done. Actually I got it working by returning the response string as a single element array in the Ajax request's dataFilter, but it's much cleaner with the condition added to the exception.
I'm writing an extension that lazy loads children from an HTML source and then runs the UL structure through the parseHTML function in the postProcess hook. It doesn't work though because line 2655 in the dfd.done function raises an exception if the data returned from the Ajax call is a string, but this exception should really only occur if the Ajax dataType option is "json".
The text was updated successfully, but these errors were encountered: