Project

General

Profile

Actions

Bug #4611

closed
JH KD

setJavaScriptMember() and single digit

Bug #4611: setJavaScriptMember() and single digit

Added by Jan Hrubeš almost 11 years ago. Updated about 10 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.

KD Updated by Koen Deforche over 10 years ago Actions #1

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

KD Updated by Koen Deforche about 10 years ago Actions #2

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

Also available in: PDF Atom