Project

General

Profile

Defect #532

globals.DIALOGS.showFormInModalDialog( does not work with runtime form argument.

Added by Sanneke Aleman almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Target version:
Start date:
07/18/2012
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

Description

If you use globals.DIALOGS.showFormInModalDialog(forms.DemoFIMD, -1, -1, -1, -1, 'FIMD');
Instead of globals.DIALOGS.showFormInModalDialog('DemoFIMD', -1, -1, -1, -1, 'FIMD');

You will get:
TypeError: Cannot set property "windowName" of undefined to "W_54809A08BE7C4624B768C96B74C8F729" (C:\Servoy_workspace\6.1\mod_dialog\globals.js#115)
TypeError: Cannot set property "windowName" of undefined to "W_54809A08BE7C4624B768C96B74C8F729" (C:\Servoy_workspace\6.1\mod_dialog\globals.js#115)
at C:\Servoy_workspace\6.1\mod_dialog\globals.js:115 (showDialog)
at C:\Servoy_workspace\6.1\mod_dialog\globals.js:351
at C:\Servoy_workspace\6.1\DemoDialog\forms\main.js:58 (onAction)

According the JSdoc it should work.


Files

patch_form.txt (1.29 KB) patch_form.txt Sanneke Aleman, 07/26/2012 10:46 AM

History

#1

Updated by Sanneke Aleman over 11 years ago

Created patch for the problem

#2

Updated by Robert Ivens over 11 years ago

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

Patch applied, will be available in version 1.5.1.

#3

Updated by Robert Ivens over 11 years ago

  • Target version set to 1.5.2

Also available in: Atom PDF