mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 06:17:27 +00:00
fix for bug 3057 - Validator for event image upload erroneously requests a URL after successful upload
This commit is contained in:
1 parent
bc5912ed2d
commit
442cb8daa5
1 file changed
+1
-1
+1
-1
@@ -113,7 +113,7 @@ public class URLFieldWithFileUpload extends Composite implements HasValue<String
|
||||
if (resultJson != null) {
|
||||
if (resultJson.get(0).isObject().get("file_uri") != null) {
|
||||
uri = resultJson.get(0).isObject().get("file_uri").isString().stringValue();
|
||||
urlTextBox.setValue(uri);
|
||||
setValue(uri, true);
|
||||
removeButton.setEnabled(true);
|
||||
Window.alert(stringMessages.uploadSuccessful());
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user