Project

General

Profile

Patch #779

Add undecorated parameter for formInModalDialog

Added by Adrian McGilly over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Start date:
01/24/2014
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

Adds an optional undecorated parameter for globals.DIALOGS.showFormInModalDialog()

3 code changes required:

CHANGE 1:

function showDialog(_sFormName, _sDlgType, _aArguments, _sIconStyle) {
dialogWindow.resizable = (_aArgs[6] null ? true : _aArgs[6]);
dialogWindow.showTextToolbar(_aArgs[7] null ? false : _aArgs7);
dialogWindow.undecorated = (_aArgs9 == null ? false : _aArgs9) // <------ NEW LINE

CHANGE 2:

@ /** * Show a Form In Modal Dialog * @param {String|RuntimeForm} formName * @param {Number} [left] * @param {Number} [top] * @param {Number} [width] * @param {Number} [height] * @param {String} [title] * @param {Boolean} [resizable] * @param {Boolean} [showTextToolbar] * @param {String} [windowName] * param {Boolean} [undecorated] <---- NEW LINE
*/

CHANGE 3:

this.showFormInModalDialog = function(formName, left, top, width, height, title, resizable, showTextToolbar, windowName, undecorated) { // <---- MODIFIED CODE
showDialog(null, 'FIMD', arguments);
}

History

#1

Updated by Harjo Kompagnie about 10 years ago

  • Assignee changed from Robert Ivens to Harjo Kompagnie
#2

Updated by Harjo Kompagnie about 10 years ago

  • Status changed from New to Closed

Please check the latest trunk version.
The undecorated option for FIMD is implementend. Also the DemoDialog solution has been updated for that!

Also available in: Atom PDF