Author: bleny Date: 2013-04-17 10:28:26 +0200 (Wed, 17 Apr 2013) New Revision: 100 Url: http://forge.codelutin.com/projects/franciaflex-magalie/repository/revisions... Log: do not show next location when there is nothing more to withdraw Modified: trunk/magalie-web/src/main/webapp/js/withdraw-item-input.js Modified: trunk/magalie-web/src/main/webapp/js/withdraw-item-input.js =================================================================== --- trunk/magalie-web/src/main/webapp/js/withdraw-item-input.js 2013-04-16 17:37:40 UTC (rev 99) +++ trunk/magalie-web/src/main/webapp/js/withdraw-item-input.js 2013-04-17 08:28:26 UTC (rev 100) @@ -169,7 +169,7 @@ } else { $(storageMovementElement).addClass('success'); } - } else if (storageMovement.originLocation.id === model.storageMovements[model.storageMovementsIndex].originLocation.id) { + } else if (storageMovement.originLocation.id === model.storageMovements[model.storageMovementsIndex].originLocation.id && ! model.canTerminate()) { $(storageMovementElement).addClass('pending'); storageMovementsElement.scrollTop(storageMovementElement[0].offsetTop); } else {
participants (1)
-
bleny@users.forge.codelutin.com