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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023598
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminoralways2013-04-19 19:502013-04-23 16:48
ReporterdbazView Statuspublic 
Assigned Todbaz 
PriorityhighResolutionfixedFixed in Version3.0MP23
StatusclosedFix in branchFixed in SCM revision61602390f123
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023598: Add capabilities to set tab ids to avoid in a particular existing button of the toolbar

DescriptionAdd capabilities to set tab ids to avoid in a particular existing button of the toolbar

The fix should not force to update any existing module, so the function 'registerButton' should behave as before with the new property 'tabIdsToAvoid' as null
Steps To ReproduceTo test the new functionality, you can just write this into the Firebug console. After it, open "Sales Order" tab, and notice there is no "Delete" icon button

OB.ToolbarRegistry.buttonDefinitions[5].tabIdsToAvoid = ['186']

Then open any other tab, and the "Delete" icon button is there
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0058066)
hgbot (developer)
2013-04-19 19:56

Repository: erp/devel/pi
Changeset: 61602390f12366b3aebd98a1914fec993a302207
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Fri Apr 19 19:56:02 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/61602390f12366b3aebd98a1914fec993a302207 [^]

Fixed issue 23598: Added 'tabIdsToAvoid' capabilities to 'registerButton' function

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-manage-views-toolbar.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalize-form-toolbar-button.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
---
(0058067)
dbaz (developer)
2013-04-19 19:56

Added new parameter 'tabIdsToAvoid' to 'OB.ToolbarRegistry.registerButton' function.
False/Null by default, so previous existing code will behave as before.
(0058108)
hudsonbot (developer)
2013-04-22 16:36

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f78aa78542fa [^]

Maturity status: Test
(0058138)
AugustoMauch (manager)
2013-04-23 16:48

Code reviewed and verified in pi@d4a9088f6a09

- Issue History
Date Modified Username Field Change
2013-04-19 19:50 dbaz New Issue
2013-04-19 19:50 dbaz Assigned To => dbaz
2013-04-19 19:50 dbaz Modules => Core
2013-04-19 19:50 dbaz Triggers an Emergency Pack => No
2013-04-19 19:50 dbaz Review Assigned To => AugustoMauch
2013-04-19 19:50 dbaz Issue Monitored: AugustoMauch
2013-04-19 19:56 hgbot Checkin
2013-04-19 19:56 hgbot Note Added: 0058066
2013-04-19 19:56 hgbot Status new => resolved
2013-04-19 19:56 hgbot Resolution open => fixed
2013-04-19 19:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/61602390f12366b3aebd98a1914fec993a302207 [^]
2013-04-19 19:56 dbaz Note Added: 0058067
2013-04-22 16:36 hudsonbot Checkin
2013-04-22 16:36 hudsonbot Note Added: 0058108
2013-04-23 16:48 AugustoMauch Note Added: 0058138
2013-04-23 16:48 AugustoMauch Status resolved => closed
2013-04-23 16:48 AugustoMauch Fixed in Version => 3.0MP23


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker