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

View Revisions: Issue #31189 Back to Issue ]
Summary 0031189: on change function is not working fine when the event is triggered by "TAB" key
Revision 2015-11-09 10:40 by inigosanchez
Steps To Reproduce Create a callout in client side (as attached file):
- Copy callout2 file at the end of ob-onchange-functions.js file.
- Login as "Openbravo Admin".
- Go to "Windows, Tabs and Fields" window and select "Price List" window.
- Select "Product Price" tab and go to "Field" subtab.
- Edit in form "Price Limit" field:
- Check "Displayed" and "Show in Grid View" checkbox for testing later.
- Also updated "On Change Function" field with following text: OB.OnChange.calcularpreciodia.
- Save the new configuration of "Price Limit" field.
- Logout and Compile.


- Login with "F&B Internation Admin Group".
- Go to "Price List" window and select "Tarifa de Ventas" record.
- Navigate to "Product price" subtab.
- Edit in grid any record and change "Unit Price" value to 2 and "List Price" value to 4.
- Change "Price Limit" value to 3 and change the focus with the mouse or TAB key. Note than "Unit Price" is changed to 4.
- Save the record and note than value in "Unit Price" is wrong because it is the old value.

NOTE: This issue can be reproduced in grid and form view. Also it can be reproduced with Mouse/Tab key event too.
Revision 2015-10-22 08:31 by malsasua
Steps To Reproduce . create a callout in client side (as attached file) in the window pricelist -> tab: product price -> field: price limit

. go to pricelist -> tab: product price
 . create new record: price list: 1 - price limit 1
 . save record

 . edit the same record:
  . change price limit value to 2 and push TAB key -> price list is changed to value "2" -> it is ok
 . save record -> the price list is changed to 1 -> it is wrong
Revision 2015-10-22 08:29 by malsasua
Steps To Reproduce . create a callout in client side (as attached file) in the window pricelist -> tab: product price -> field: price limit

. go to pricelist -> tab: product price
 . create new record: price list: 1 - price limit 1
 . save record

 . edit the same record:
  . change price limit value to 2 and push TAB key -> price list is changed to value "5" -> it is ok
 . save record -> the price list is changed to 1 -> it is wrong
Revision 2015-10-20 16:25 by malsasua
Steps To Reproduce . add a new function in "on change" property, and this function should update one field of tab

the function has been attached: function.txt
Revision 2015-10-20 16:24 by malsasua
Steps To Reproduce . add a new function in "on change" property, and this function should update one field of tab


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker