CoWorker Nature
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.ria / src / argeo-ria-lib / security / class / org / argeo / security / ria / UsersApplet.js
index a44d3bb06bcc1edf50c28d3464bc074e24cf6c6f..f5e13c121a2862d5dcfbf02f3cc96bdd325e0224 100644 (file)
@@ -133,18 +133,18 @@ qx.Class.define("org.argeo.security.ria.UsersApplet",
                        this.getCommands()["edit_user"].command.execute();
                }, this);
                
-               this.setGuiMode("chooser");
+               this.setGuiMode("clear");
        },
        
        _applyGuiMode : function(newMode, oldMode){
                this.table.getSelectionModel().clearSelection();
                this.resetHiddenRows();
                if(newMode == "filter"){
-                       this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_INTERVAL_SELECTION);
+                       this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION);
                }else if(newMode == "chooser"){
                        this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE);
                }else if(newMode == "clear"){
-                       this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_INTERVAL_SELECTION);
+                       this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION);
                }
        },