mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 09:41:00 +00:00
fixed e-mail validation
This commit is contained in:
1 parent
75f1541686
commit
a21cc3f5bb
6 files changed
+22
-8
No files matched your search
+11
-1
@@ -233,6 +233,8 @@ public class UserDetailsView extends FlowPanel {
|
||||
}
|
||||
|
||||
private static class DeleteUserConfimDialog extends DialogBox {
|
||||
final Button ok;
|
||||
|
||||
public DeleteUserConfimDialog(final UserManagementServiceAsync userManagementService, final String username, final StringMessages stringMessages) {
|
||||
setText(stringMessages.deleteUserQuestion());
|
||||
setAnimationEnabled(true);
|
||||
@@ -240,7 +242,7 @@ public class UserDetailsView extends FlowPanel {
|
||||
VerticalPanel vp = new VerticalPanel();
|
||||
vp.add(new Label(stringMessages.doYouReallyWantToDeleteUser(username)));
|
||||
HorizontalPanel hp = new HorizontalPanel();
|
||||
Button ok = new Button(stringMessages.ok());
|
||||
ok = new Button(stringMessages.ok());
|
||||
ok.addClickHandler(new ClickHandler() {
|
||||
public void onClick(ClickEvent event) {
|
||||
userManagementService.deleteUser(username, new AsyncCallback<SuccessInfo>() {
|
||||
@@ -268,6 +270,14 @@ public class UserDetailsView extends FlowPanel {
|
||||
vp.add(hp);
|
||||
setWidget(vp);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void show() {
|
||||
super.show();
|
||||
ok.setFocus(true);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void addUserChangeEventHandler(UserChangeEventHandler handler) {
|
||||
|
||||
+2
-2
@@ -29,7 +29,7 @@
|
||||
<super-source path="jre" />
|
||||
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='com.sap.sse.security.ui.changepassword.ChangePasswordEntryPoint'/>
|
||||
<entry-point class='com.sap.sse.security.ui.emailvalidation.EmailValidationEntryPoint'/>
|
||||
|
||||
<set-property name="gwt.logging.enabled" value="TRUE"/>
|
||||
<set-property name="gwt.logging.logLevel" value="FINE"/>
|
||||
@@ -44,7 +44,7 @@
|
||||
<!-- Specify the paths for translatable code -->
|
||||
<extend-property name="locale" values="de"/>
|
||||
<source path='client'/>
|
||||
<source path='changepassword'/>
|
||||
<source path='emailvalidation'/>
|
||||
<source path='oauth'/>
|
||||
<source path='shared'/>
|
||||
<source path='loginpanel'/>
|
||||
|
||||
Reference in new issue
Block a user