(0003903)
|
dbaz
|
2007-08-09 15:45
(edited on: 2008-06-12 09:26) |
|
Logged In: YES
user_id=1500873
Originator: YES
Changes that I have made in utils.js and Toolbar.java:
utils.js
--------
Before:
function openServletNewWindow(Command, depurar, url, _name, processId, checkChanges, height, width, resizable, hasStatus) {
if (height==null) height = 350;
if (width==null) width = 500;
var parameters = new Array();
parameters = addArrayValue(parameters, "scrollbars", "1");
parameters = addArrayValue(parameters, "debug", depurar, false);
if (processId!=null && processId!="") parameters = addArrayValue(parameters, "inpProcessId", processId, true);
if (Command!=null && Command!="") parameters = addArrayValue(parameters, "Command", Command, false);
return openPopUp(url, _name, height, width, null, null, checkChanges, null, true, true, parameters);
}
After:
function openServletNewWindow(Command, depurar, url, _name, processId, checkChanges, height, width, resizable, hasStatus) {
openServletNewWindow(Command, depurar, url, _name, processId, checkChanges, height, width, resizable, hasStatus, true)
}
function openServletNewWindow(Command, depurar, url, _name, processId, checkChanges, height, width, resizable, hasStatus, closeControl) {
if (height==null) height = 350;
if (width==null) width = 500;
var parameters = new Array();
parameters = addArrayValue(parameters, "scrollbars", "1");
parameters = addArrayValue(parameters, "debug", depurar, false);
if (processId!=null && processId!="") parameters = addArrayValue(parameters, "inpProcessId", processId, true);
if (Command!=null && Command!="") parameters = addArrayValue(parameters, "Command", Command, false);
return openPopUp(url, _name, height, width, null, null, checkChanges, null, true, closeControl, parameters);
}
Toolbar.java
------------
Before:
} else if (name.equals("TREE")) {
return "openServletNewWindow('DEFAULT', false, '../utility/WindowTree.html', 'TREE', null, null,625, 750, true);";
After:
} else if (name.equals("TREE")) {
return "openServletNewWindow('DEFAULT', false, '../utility/WindowTree.html', 'TREE', null, null,625, 750, true, false);"
|
|
(0003904)
|
dbaz
|
2007-08-13 22:40
(edited on: 2008-06-12 09:26) |
|
Logged In: YES
user_id=1500873
Originator: YES
I introduce more changes.
Changes that I have made in utils.js and Toolbar.java:
utils.js
--------
Before:
function openServletNewWindow(Command, depurar, url, _name, processId,
checkChanges, height, width, resizable, hasStatus) {
if (height==null) height = 350;
if (width==null) width = 500;
var parameters = new Array();
parameters = addArrayValue(parameters, "scrollbars", "1");
parameters = addArrayValue(parameters, "debug", depurar, false);
if (processId!=null && processId!="") parameters =
addArrayValue(parameters, "inpProcessId", processId, true);
if (Command!=null && Command!="") parameters = addArrayValue(parameters,
"Command", Command, false);
return openPopUp(url, _name, height, width, null, null, checkChanges,
null, true, true, parameters);
}
After:
function openServletNewWindow(Command, depurar, url, _name, processId,
checkChanges, height, width, resizable, hasStatus, closeControl) {
if (height==null) height = 350;
if (width==null) width = 500;
if (closeControl==null) closeControl = true;
var parameters = new Array();
parameters = addArrayValue(parameters, "scrollbars", "1");
parameters = addArrayValue(parameters, "debug", depurar, false);
if (processId!=null && processId!="") parameters =
addArrayValue(parameters, "inpProcessId", processId, true);
if (Command!=null && Command!="") parameters = addArrayValue(parameters,
"Command", Command, false);
return openPopUp(url, _name, height, width, null, null, checkChanges,
null, true, closeControl, parameters);
}
Toolbar.java
------------
Before:
} else if (name.equals("TREE")) {
return "openServletNewWindow('DEFAULT', false,
'../utility/WindowTree.html', 'TREE', null, null,625, 750, true);";
After:
} else if (name.equals("TREE")) {
return "openServletNewWindow('DEFAULT', false,
'../utility/WindowTree.html', 'TREE', null, null,625, 750, true, false, false);" |
|