Actions
Bug #2425
closedJavaScript error when setObjectName is called for WAbstractSpinBoxs
Start date:
11/15/2013
Due date:
% Done:
0%
Estimated time:
Description
I receive the following client-side javascript error whenever setObjectName(...) function has been called for WAbstractSpinBox widgets:
"Uncaught TypeError: Cannot read property 'defaultTT' of null"
Which I think is happening because in the JS a call is made to setValidationState(...), referencing the widget ID without the object name prepended, which doesn't exist in the DOM, e.x.
Wt3_3_1.setValidationState(Wt3_3_1.$('opsry94'),1,'',1),
when it should be (and in fact is also called)
Wt3_3_1.setValidationState(Wt3_3_1.$('ObjectName_opsry94'),1,'',1);
I am using the the wthttp connector, and have tried this on both Chrome and FireFox, using Wt 3.3.1 on OS X.
Files
Updated by Koen Deforche about 11 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.3.1
Hey,
Thanks for the test case. A fix is on it's way.
koen
Updated by Koen Deforche almost 11 years ago
- Status changed from Resolved to Closed
Actions