Openbravo Issue Tracking System - Retail Modules
View Issue Details
0021453Retail ModulesWeb POSpublic2012-08-24 17:512012-12-26 11:42
guilleaer 
guilleaer 
highmajoralways
closedno change required 
5
 
RMP18 
No
0021453: js resources are loaded, but they are still present in the webpage
js resources are loaded, but they are still present in the webpage.
1.clean cache
2. login in webpos
3. logout using the logout tool
4. login again in webpos
5. using developers tools see that we've the same script twice
This handler located in model/terminal.js loads the scripts using $LAB

OB.POS.modelterminal.on('terminal.loaded', function() {


remove previous scripts before load again or not load scripts which are slready presents in the webpage
No tags attached.
related to defect 0021544 closed guilleaer duplicated js resources 
png Captura de pantalla de 2012-08-24 17:44:09.png (322,744) 2012-08-24 17:51
https://issues.openbravo.com/file_download.php?file_id=5526&type=bug
Issue History
2012-08-24 17:51guilleaerNew Issue
2012-08-24 17:51guilleaerAssigned To => adrianromero
2012-08-24 17:51guilleaerFile Added: Captura de pantalla de 2012-08-24 17:44:09.png
2012-09-13 13:04adrianromeroNote Added: 0052064
2012-09-13 17:25adrianromeroRelationship addedrelated to 0021544
2012-11-09 13:19alostaleStatusnew => scheduled
2012-11-09 13:19alostaleAssigned Toadrianromero => guilleaer
2012-11-09 13:19alostalefix_in_branch => pi
2012-12-26 11:42guilleaerNote Added: 0055194
2012-12-26 11:42guilleaerStatusscheduled => closed
2012-12-26 11:42guilleaerResolutionopen => no change required
2012-12-26 11:42guilleaerFixed in Version => RMP18

Notes
(0052064)
adrianromero   
2012-09-13 13:04   
In logout has been fixed reloading the page but this is not a clean fix of the error because also this error appears when going to cash up and comming to POS and it is acceptable reloadint the page here

We must use backbone routing in all cases
(0055194)
guilleaer   
2012-12-26 11:42   
This problem cannot be reproduced in RMP18.

Navigate to index.html when logout is done simplifies the process and makes more easy the management of the login offline. This way to logout is working fine and there are not reasons to change it.