Revision da62cc7e gss/src/gr/ebs/gss/client/VersionsList.java
b/gss/src/gr/ebs/gss/client/VersionsList.java | ||
---|---|---|
103 | 103 |
toRemove = null; |
104 | 104 |
} |
105 | 105 |
for (final FileResource dto : versions) { |
106 |
HTML restoreVersion = new HTML("<a class='hidden-link info'>"+images.restore().getHTML()+"<span>Restore this Version</span></a>"); |
|
106 |
HTML restoreVersion = new HTML("<a href='#' class='hidden-link info'>"+images.restore().getHTML()+"<span>Restore this Version</span></a>");
|
|
107 | 107 |
restoreVersion.addClickListener( new ClickListener() { |
108 | 108 |
|
109 | 109 |
public void onClick(Widget sender) { |
... | ... | |
160 | 160 |
else if(statusCode == 404) |
161 | 161 |
GSS.get().displayError("Versions does not exist"); |
162 | 162 |
else |
163 |
GSS.get().displayError("Unable to remove version:"+((RestException)t).getHttpStatusText());
|
|
163 |
GSS.get().displayError("Unable to remove version:"+((RestException)t).getHttpStatusText()); |
|
164 | 164 |
} |
165 | 165 |
else |
166 | 166 |
GSS.get().displayError("System error removing version:"+t.getMessage()); |
Also available in: Unified diff