Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0003376
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] E. Translationminoralways2007-08-09 15:432008-12-17 11:09
ReporterdbazView Statuspublic 
Assigned Tormorley 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0003376: When you double-click an item on the Tree Edition Window

DescriptionWhen you double-click an item on the Tree Edition Window the pop-up window which contains the tree closes.

It should remain opened because if you want to click then other item you have to re-open it the tree edition window and find the item.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0003903)
dbaz (developer)
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 (developer)
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);"
(0006965)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:44

This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1770817 [^]

- Issue History
Date Modified Username Field Change
2008-12-17 11:09 pjuvara Assigned To dbaz => rmorley


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker