Bug Tracker

Opened 7 years ago

Closed 6 years ago

#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:
Blocked by: Blocking:


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:" <...>


return !xhr.status && (location.protocol == "file:" || location.protocol == "mk:")

to make all help-writers happy ;)

Change History (5)

comment:1 Changed 7 years ago by dmethvin

  • Component changed from unfiled to ajax

comment:2 Changed 6 years ago by anonymous

Soo..? Guys, fixes whould not never be easier, what's going on??

comment:3 Changed 6 years ago by SlexAxton

  • Milestone changed from 1.4 to 1.5
  • Priority changed from major to low
  • Status changed from new to open
  • Type changed from bug to enhancement

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?

comment:4 Changed 6 years ago by rwaldron

  • Keywords ajaxrewrite added

comment:5 Changed 6 years ago by snover

  • Resolution set to wontfix
  • Status changed from open to closed

Non-HTTP requests are not supported in Core.

Note: See TracTickets for help on using tickets.