Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop
This commit is contained in:
commit
1b0185758c
3 changed files with 14 additions and 2 deletions
|
@ -108,9 +108,9 @@ public class GroupedPropertyList extends BaseTemplateModel {
|
|||
|
||||
if (editing) {
|
||||
mergeAllPossibleDataProperties(propertyList);
|
||||
propertyList = correctLanguageForProperties(propertyList);
|
||||
}
|
||||
|
||||
propertyList = correctLanguageForProperties(propertyList);
|
||||
sort(propertyList);
|
||||
|
||||
// Put the list into groups
|
||||
|
|
|
@ -5,7 +5,19 @@
|
|||
<%@ page import="com.oreilly.servlet.ServletUtils,edu.cornell.mannlib.vitro.webapp.web.*" %>
|
||||
<%@page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest"%>
|
||||
<%@page import="edu.cornell.mannlib.vitro.webapp.beans.ApplicationBean"%>
|
||||
<%@page import="org.apache.commons.logging.Log"%>
|
||||
<%@page import="org.apache.commons.logging.LogFactory"%>
|
||||
<%
|
||||
// We have seen that this page can throw its own error.
|
||||
// Before it does so, be sure that we have written the original error to the log.
|
||||
Object c = request.getAttribute("javax.servlet.jsp.jspException");
|
||||
if (c instanceof Throwable) {
|
||||
Throwable cause = (Throwable) c;
|
||||
Log log = LogFactory.getLog(this.getClass());
|
||||
log.error("Error: ", cause);
|
||||
}
|
||||
|
||||
|
||||
VitroRequest vreq = new VitroRequest(request);
|
||||
ApplicationBean appBean = vreq.getAppBean();
|
||||
String themeDir = appBean.getThemeDir();
|
||||
|
|
|
@ -5,7 +5,7 @@ $(document).ready(function(){
|
|||
// Use jQuery() instead of $() alias, because dwr/util.js, loaded on back end editing
|
||||
// pages, overwrites $.
|
||||
// fade out welcome-message when user logs in
|
||||
$.extend(this, i18nStrings);
|
||||
jQuery.extend(this, i18nStrings);
|
||||
|
||||
jQuery('section#welcome-message').css('display', 'block').delay(2000).fadeOut(1500);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue