Ticket #5534 (closed enhancement: wontfix)
Ajax does not work in html help (chm) files
| Reported by: | htmlhelp | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.5 |
| Component: | ajax | Version: | 1.3.2 |
| Keywords: | chm,xhr,ajax,httpSuccess,ajaxrewrite | Cc: | |
| Blocking: | Blocked by: |
Description
Easy problem.
Function httpSuccess checks if request is successfull. There is special branch for local " file://" requests. BUT, same behaviour used in IE chm files (*.chm) in "mk:" protocol.
You should replace
return !xhr.status && location.protocol == "file:" <...>
with
return !xhr.status && (location.protocol == "file:" || location.protocol == "mk:")
to make all help-writers happy ;)
Change History
comment:2 Changed 3 years ago by anonymous
Soo..? Guys, fixes whould not never be easier, what's going on??
comment:3 Changed 3 years ago by SlexAxton
- Priority changed from major to low
- Status changed from new to open
- Type changed from bug to enhancement
- Milestone changed from 1.4 to 1.5
jQuery makes no claims to support .chm files. We'll push this through as a potential enhancement, but there are plenty of protocols that we don't support, because they just aren't common... The library is intended to be the best set of _common_ options for developing. Feel free to use AOP or a modified version in your .chm files.
What other protocols would we potentially need to support if we took this on?
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
