Bug Tracker

Opened 8 years ago

Closed 7 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:

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 (5)

comment:1 Changed 7 years ago by dmethvin

Component: unfiledajax

comment:2 Changed 7 years ago by anonymous

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

comment:3 Changed 7 years ago by SlexAxton

Milestone: 1.41.5
Priority: majorlow
Status: newopen
Type: bugenhancement

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 7 years ago by Rick Waldron

Keywords: ajaxrewrite added

comment:5 Changed 7 years ago by snover

Resolution: wontfix
Status: openclosed

Non-HTTP requests are not supported in Core.

Note: See TracTickets for help on using tickets.