VIVO-428 corrected method calls left over from the first proof of concept.

This commit is contained in:
j2blake 2013-11-01 10:36:56 -04:00
parent 999e0c9008
commit 7022df040b

View file

@ -102,7 +102,6 @@ public class ImageUploadController extends FreemarkerHttpServlet {
private static final String URL_HERE = UrlBuilder.getUrl("/uploadImages");
private static final String TEXT_BUNDLE = "imageUpload";
private static final String TEXT_STRING_UPLOAD_TITLE = "upload_page_title";
private static final String TEXT_STRING_UPLOAD_TITLE_WITH_NAME = "upload_page_title_with_name";
private static final String TEXT_STRING_REPLACE_TITLE = "replace_page_title";
@ -572,10 +571,10 @@ public class ImageUploadController extends FreemarkerHttpServlet {
if (entity != null) {
String name = entity.getName();
if (name != null) {
return I18n.text(req, TEXT_BUNDLE, nameTitleKey, name);
return I18n.text(req, nameTitleKey, name);
}
}
return I18n.text(req, TEXT_BUNDLE, noNameTitleKey);
return I18n.text(req, noNameTitleKey);
}
/**