Defect #589
Only shows 6 lines of msg
Start date:
12/04/2012
Due date:
% Done:
100%
Estimated time:
Browser (if web client):
Chrome, Firefox
Description
I've this code:
var msg = "line 1<br> line 2<br> line 3<br> line 4<br> line 5<br> line 6<br> line 7<br> line 8<br>"; globals.DIALOGS.showInfoDialog('', pMsg, 'Ok');
The dialog is shown, but only shows the first 6 lines of the message. I've add the line:
globals[DIALOGS.setDialogHeight(500);
without success.
Files
History
Updated by Robert Ivens over 12 years ago
When are you setting the height ? Can you show me some code sample (more than one line) ?
Updated by Juan C. Cristobo over 12 years ago
- File dialogs_module.jpg dialogs_module.jpg added
The code I test is very simple, the function btn_mostrar is attached to a button:
function btn_mostrar() { var msg = "line 1<br> line 2<br> line 3<br> line 4<br> line 5<br> line 6<br> line 7<br> line 8<br>"; globals.DIALOGS.setDialogHeight(500); globals.DIALOGS.showInfoDialog('', msg, 'Ok'); }
I only see 6 lines (I've attached a snapshot)
Updated by Robert Ivens over 12 years ago
- Status changed from New to Closed
- Target version changed from 1.5.2 to 1.5.3
- % Done changed from 0 to 100
Found the issue, will be fixed in version 1.5.3