Project

General

Profile

Bug #4611

setJavaScriptMember() and single digit

Added by Jan HrubeŇ° almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12/08/2015
Due date:
% Done:

0%

Estimated time:

Description

Hi,

setJavaScriptMember(name, value) failed to set value with single digit number (in string). Instead the value will be null.

w->setJavaScriptMember("my_value","7"); // -> broken, my_value is set to null

This is a workaround:

w->doJavaScript(w->jsRef()+".my_value=7"); 

Found in wt 3.2.3, confirmed in 3.3.4.

H.

#1

Updated by Koen Deforche over 6 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.3.5
#2

Updated by Koen Deforche about 6 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 3.3.5 to 3.3.6

Also available in: Atom PDF