mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-25 05:23:51 +00:00
Removed debug alerts
This commit is contained in:
1 parent
b811ab7c8d
commit
493e1f4fa0
2 files changed
+1
-5
No files matched your search
+1
-4
@@ -1,7 +1,5 @@
|
||||
package com.sap.sse.gwt.client.shared.components;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import com.google.gwt.dom.client.Style.Unit;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
@@ -84,11 +82,10 @@ public class SettingsDialog<SettingsType extends Settings> extends AbstractSetti
|
||||
getLeftButtonPannel().add(makeDefaultButton);
|
||||
makeDefaultButton.addClickHandler(new ClickHandler() {
|
||||
public void onClick(ClickEvent event) {
|
||||
ArrayList<String> settingsPath = component.getPath();
|
||||
component.getComponentContext().makeSettingsDefault(component, getResult());
|
||||
// TODO i18n + use nice styled dialog
|
||||
// FIXME apply new result to new backend result and send to server for saving
|
||||
Window.alert("Settings have been successfully saved " + settingsPath + " " + getResult());
|
||||
Window.alert("Settings have been successfully saved");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
-1
@@ -236,7 +236,6 @@ public class AbstractComponentContextWithSettingsStorage<L extends ComponentLife
|
||||
|
||||
private void updateSettings(final ArrayList<String> path, final Settings globalSettings,
|
||||
final Settings contextSettings) {
|
||||
Window.alert("Save for " + path + " Global " + globalSettings + " Context " + contextSettings);
|
||||
settingsStorageManager.retrieveGlobalSettingsJson(new AsyncCallback<JSONObject>() {
|
||||
@Override
|
||||
public void onSuccess(final JSONObject globalServerside) {
|
||||
|
||||
Reference in new issue
Block a user