Bug Tracker

Modify

Ticket #5534 (closed enhancement: wontfix)

Opened 4 years ago

Last modified 3 years ago

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:1 Changed 4 years ago by dmethvin

  • Component changed from unfiled to ajax

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?

comment:4 Changed 3 years ago by rwaldron

  • Keywords chm,xhr,ajax,httpSuccess,ajaxrewrite added; chm xhr ajax httpSuccess removed

comment:5 Changed 3 years ago by snover

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

Non-HTTP requests are not supported in Core.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.