- Fix several IE9 issues.

This commit is contained in:
Paulo Gustavo Veiga 2012-06-24 20:03:25 -03:00
parent 3a7c1d56cb
commit c4ad5810da
8 changed files with 16 additions and 21 deletions

View File

@ -344,7 +344,7 @@ $(function() {
$("#newBtn").click( $("#newBtn").click(
function() { function() {
$("#new-dialog-modal").dialogForm({ $("#new-dialog-modal").dialogForm({
redirect: "c/maps/{header.resourceId}/edit", redirect: "/c/maps/{header.resourceId}/edit",
url : "../service/maps" url : "../service/maps"
}); });
}); });
@ -364,7 +364,7 @@ $(function() {
// Initialize dialog ... // Initialize dialog ...
$("#duplicate-dialog-modal").dialogForm({ $("#duplicate-dialog-modal").dialogForm({
redirect: "c/maps/{header.resourceId}/edit", redirect: "/c/maps/{header.resourceId}/edit",
url : "../service/maps/" + mapId url : "../service/maps/" + mapId
}); });
} }

View File

@ -8,7 +8,7 @@
<html> <html>
<head> <head>
<base href="${pageContext.request.contextPath}/"/> <base href="${baseURL}/">
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta http-equiv="X-UA-Compatible" content="chrome=1">

View File

@ -1,13 +1,8 @@
<%@ page import="com.wisemapping.model.User" %>
<%@ page import="com.wisemapping.security.Utils" %>
<%@ page import="com.wisemapping.filter.UserAgent" %>
<%@ page import="com.wisemapping.filter.BrowserSupportInterceptor" %>
<%@ page session="false" contentType="text/html;charset=UTF-8" %> <%@ page session="false" contentType="text/html;charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %> <%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<% <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
User user = Utils.getUser(false);
request.setAttribute("principal", user); <c:set var="baseURL" value="${fn:replace(pageContext.request.requestURL, pageContext.request.requestURI, pageContext.request.contextPath)}" />
%>

View File

@ -8,7 +8,7 @@
<%@ include file="/jsp/init.jsp" %> <%@ include file="/jsp/init.jsp" %>
<html> <html>
<head> <head>
<base href="${pageContext.request.contextPath}/"/> <base href="${baseURL}/">
<title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title> <title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
<!--[if lt IE 9]> <!--[if lt IE 9]>

View File

@ -14,7 +14,7 @@
<html> <html>
<head> <head>
<base href="${pageContext.request.contextPath}/"/> <base href="${baseURL}/">
<title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title> <title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>

View File

@ -3,15 +3,15 @@
<%@ include file="/jsp/init.jsp" %> <%@ include file="/jsp/init.jsp" %>
<html> <html>
<head> <head>
<base href="${pageContext.request.contextPath}/"/> <base href="${baseURL}">
<title><spring:message code="SITE.TITLE"/></title> <title><spring:message code="SITE.TITLE"/></title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta http-equiv="X-UA-Compatible" content="chrome=1">
<![endif]--> <![endif]-->
<link rel="icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/> <link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet/less" type="text/css" href="css/mindmapList.less"/> <link rel="stylesheet/less" type="text/css" href="css/mindmapList.less"/>

View File

@ -10,7 +10,7 @@
<html> <html>
<head> <head>
<base href="${pageContext.request.contextPath}/"/> <base href="${baseURL}/">
<title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title> <title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>

View File

@ -8,7 +8,7 @@
<tiles:importAttribute name="details" scope="request"/> <tiles:importAttribute name="details" scope="request"/>
<html> <html>
<head> <head>
<base href="${pageContext.request.contextPath}/"/> <base href="${baseURL}/">
<title> <title>
<spring:message code="SITE.TITLE"/> <spring:message code="SITE.TITLE"/>
- -
@ -24,8 +24,8 @@
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="css/pageTemplate.css"/> <link rel="stylesheet" type="text/css" href="css/pageTemplate.css"/>
<link rel="icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/> <link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" language="javascript" src="js/jquery-1.7.2.min.js"></script> <script type="text/javascript" language="javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" language="javascript" src="bootstrap/js/bootstrap.js"></script> <script type="text/javascript" language="javascript" src="bootstrap/js/bootstrap.js"></script>