Revision a0a08c19 src/gr/grnet/pithos/web/client/FeedbackDialog.java
b/src/gr/grnet/pithos/web/client/FeedbackDialog.java | ||
---|---|---|
44 | 44 |
import com.google.gwt.event.dom.client.ClickHandler; |
45 | 45 |
import com.google.gwt.event.dom.client.KeyCodes; |
46 | 46 |
import com.google.gwt.http.client.Response; |
47 |
import com.google.gwt.i18n.client.Dictionary; |
|
47 | 48 |
import com.google.gwt.user.client.Event.NativePreviewEvent; |
48 | 49 |
import com.google.gwt.user.client.ui.Anchor; |
49 | 50 |
import com.google.gwt.user.client.ui.Button; |
... | ... | |
60 | 61 |
*/ |
61 | 62 |
public class FeedbackDialog extends DialogBox { |
62 | 63 |
|
64 |
Dictionary otherProperties = Dictionary.getDictionary("otherProperties"); |
|
65 |
|
|
63 | 66 |
/** |
64 | 67 |
* The widget constructor. |
65 | 68 |
*/ |
... | ... | |
105 | 108 |
Button confirm = new Button("Submit feedback", new ClickHandler() { |
106 | 109 |
@Override |
107 | 110 |
public void onClick(ClickEvent event) { |
108 |
PostRequest sendFeedback = new PostRequest("/tools/", "", "feedback", "feedback-msg=" + msg.getText() + "&feedback-data=" + appData) {
|
|
111 |
PostRequest sendFeedback = new PostRequest("", "", otherProperties.get("feedbackUrl"), "feedback-msg=" + msg.getText() + "&feedback-data=" + appData) {
|
|
109 | 112 |
|
110 | 113 |
@Override |
111 | 114 |
protected void onUnauthorized(Response response) { |
Also available in: Unified diff