Subversion Repositories eFlore/Archives.cel-v1

Compare Revisions

Ignore whitespace Rev 23 → Rev 24

/trunk/src/org/tela_botanica/client/InventoryItemList.java
161,8 → 161,6
private String search = "all";
private String station = "all";
 
private boolean add=false;
public InventoryItemList(Mediator med) {
 
mediator=med;
212,7 → 210,7
public void onCellClicked(SourcesTableEvents sender, int row, int cell) {
if (table.getWidget(row, 0)!=null) {
if ((table.getWidget(row, 0)!=null) && (cell>0)){
selectRow(row);
// Numero d'ordre
mediator.onInventoryItemSelected(table.getText(row, 5));
426,7 → 424,6
if (location.compareTo("")==0) {
location="000null";
}
add=true;
mediator.onInventoryUpdated(location);
updateCount();
}
466,7 → 463,6
new ResponseTextHandler() {
 
public void onCompletion(String str) {
add=false;
mediator.onInventoryUpdated(location);
update();
}
862,6 → 858,7
table.setText(row, 5, aordre);
 
/*
if (add){
if (i ==(arraySize -1)) {
selectRow(row);
874,6 → 871,7
selectRow(row);
}
}
*/
 
table.getCellFormatter().setVisible(row, 5, false);
 
895,8 → 893,6
table.getCellFormatter().setVisible(j, 5, false);
table.getRowFormatter().removeStyleName(j, "inventoryItem-SelectedRow");
}
add=false;
 
setStatusEnabled();