Project

General

Profile

Actions

Bug #1317

closed

Fix jQuery detection in WebRenderer

Added by Jake Petroules over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Pieter Libin
Target version:
Start date:
06/06/2012
Due date:
% Done:

0%

Estimated time:

Description

Allow jQuery detection to function properly, and remove the dash so that CDNs like Google, which do not include a dash in the filename, will be detected.

https://github.com/kdeforche/wt/pull/9


Files

9.diff (1.02 KB) 9.diff Jake Petroules, 06/06/2012 03:29 AM
Actions #1

Updated by Koen Deforche over 12 years ago

  • Status changed from New to InProgress
  • Assignee set to Pieter Libin
  • Target version set to 3.2.2

Patch looks okay, can you apply ?

Actions #2

Updated by Jake Petroules over 12 years ago

I'm a bit concerned that I had to remove - app->scriptLibrariesAdded_ for this code to even have an effect at all, because I don't know why it was there in the first place.

I looked through everywhere it was referenced and from what I understand, the original code would effectively cause the array to never be iterated in any situation. So this seemed like a perfectly reasonable fix. Do any of you have anything to say on this? I just want to be sure I don't introduce a bug by fixing another. :)

Actions #3

Updated by Pieter Libin over 12 years ago

Hey Jake,

your change on the for loop is correct, and indeed fixes a bug.

Kind regards,

Pieter

Actions #4

Updated by Pieter Libin over 12 years ago

  • Status changed from InProgress to Resolved
Actions #5

Updated by Koen Deforche over 12 years ago

  • Status changed from Resolved to Closed

Released in Wt 3.2.2

Actions

Also available in: Atom PDF