Changeset 13392 in josm for trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java
- Timestamp:
- 2018-02-08T01:38:37+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java
r12687 r13392 30 30 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 31 31 import org.openstreetmap.josm.gui.util.GuiHelper; 32 import org.openstreetmap.josm.gui.widgets.HtmlPanel; 32 33 import org.openstreetmap.josm.io.ChangesetClosedException; 33 34 import org.openstreetmap.josm.io.MaxChangesetSizeExceededPolicy; … … 330 331 if (uploadCanceled) return; 331 332 if (lastException == null) { 332 new Notification( 333 "<h3>" + tr("Upload successful!") + "</h3>") 333 HtmlPanel panel = new HtmlPanel( 334 "<h3><a href=\"" + Main.getBaseBrowseUrl() + "/changeset/" + changeset.getId() + "\">" 335 + tr("Upload successful!") + "</a></h3>"); 336 panel.enableClickableHyperlinks(); 337 panel.setOpaque(false); 338 new Notification() 339 .setContent(panel) 334 340 .setIcon(ImageProvider.get("misc", "check_large")) 335 341 .show();
Note:
See TracChangeset
for help on using the changeset viewer.