Project

General

Profile

Defect #396

When globals.DIALOGS.setDialogHeight(height) is called with a too low value, the code bombs out

Added by P Bakker over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
12/01/2011
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

Description

See the stacktrace:
TypeError: Cannot call method "setLocation" of undefined (c:\workspace\mod_dialog\forms\dialogs_input.js#43)
at c:\workspace\mod_dialog\forms\dialogs_input.js:43 (setupForm)
at c:\workspace\mod_dialog\globals.js:87 (showDialog)

The reason why calling setLocation on elements.fldValue bombs out is most likely due to the fact that the form has been resized using the Solution model in such a way that the elements.fldValue is positioned below the last form part and thus is not available as element anymore in scripting (just like what happens to elements that are placed below the last form part @ designtime)

History

#1

Updated by Robert Ivens over 13 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed in next release

Also available in: Atom PDF