Project

General

Profile

Actions

Bug #4611

closed

setJavaScriptMember() and single digit

Added by Jan Hrubeš almost 9 years ago. Updated over 8 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.

Actions #1

Updated by Koen Deforche almost 9 years ago

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

Updated by Koen Deforche over 8 years ago

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

Also available in: Atom PDF