Project

General

Profile

Actions

Bug #1494

closed

WTextEdit.resize() does not get along with setLocale()

Added by Boris Nagaev about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10/23/2012
Due date:
% Done:

0%

Estimated time:

Description

Hello!

The error was previously considered a bug of WCheckBox or WComboBox. http://redmine.emweb.be/issues/1492

But then I discovered true cause of error: resized WTextEdit + setLocale().

See example attached. It fails with Wt 3.2.1.

Error message: Uncaught TypeError: Object # has no method 'wtResize'

Ajax:

Wt._p_.response(3109338060);{var j2=Wt3_2_1.$('ozcgyeu_tbl');
Wt3_2_1.$('ozcgyeu_tbl').wtResize(Wt3_2_1.$('ozcgyeu'),600,300);;
}

After that page doesn't respond to any user events and loading indicator keeps hanging.


Files

setLocale.cpp (668 Bytes) setLocale.cpp Boris Nagaev, 10/23/2012 12:48 PM
Actions #1

Updated by Koen Deforche about 12 years ago

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

Hey,

Thanks for the test-case. I've fixed this in my local git copy.

Regards,

koen

Actions #2

Updated by Koen Deforche about 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF