将analyResult标签修改成analysisresult

This commit is contained in:
ascrutae 2016-04-29 16:08:23 +08:00
parent f685236dc3
commit eab120adaf
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
<#macro anlyResultDisplayTmpl>
<script type="text/x-jsrender" id="anlyResultDisplayTmpl">
<div class="row">
<h4><a href="${_base}/mainPage?loadType=showAnalysisResult&key=analyResult:{{>treeId}}">{{>entranceViewpoint}}</a></h4>
<h4><a href="${_base}/mainPage?loadType=showAnalysisResult&key=analysisresult:{{>treeId}}">{{>entranceViewpoint}}</a></h4>
<p>
{{for nodes}}
{{if isPrintSlipDot}}

View File

@ -72,7 +72,7 @@
var searchKey = $("#key").val();
if (searchKey.match(/viewpoint:*/i)) {
window.location.href = "${_base}/mainPage?loadType=showAnlySearchResult&key=" + searchKey;
}else if (searchKey.match(/analyResult:*/i)){
}else if (searchKey.match(/analysisresult:*/i)){
window.location.href = "${_base}/mainPage?loadType=showAnalysisResult&key=" + searchKey;
} else {
window.location.href = "${_base}/" + searchKey;

View File

@ -59,7 +59,7 @@
var searchKey = $("#searchKey").val();
if (searchKey.match(/viewpoint:*/i)) {
loadContent("showAnlySearchResult")
} else if (searchKey.match(/analyResult:*/i)){
} else if (searchKey.match(/analysisresult:*/i)){
loadContent("showAnalysisResult");
} else{
loadContent("showTraceInfo");