mirror of https://github.com/apache/archiva.git
do not modify hash to prevent loosing nav history
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1391018 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6cb697b607
commit
305d083e7c
|
@ -645,7 +645,9 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","choosen","knockout","kno
|
||||||
text=text.replace(/>/g,">");
|
text=text.replace(/>/g,">");
|
||||||
mainContent.find("#artifact-content-text" ).html(text);
|
mainContent.find("#artifact-content-text" ).html(text);
|
||||||
prettyPrint();
|
prettyPrint();
|
||||||
goToAnchor("artifact-content-text-header");
|
// olamy do not move to anchor to not loose nav history
|
||||||
|
//goToAnchor("artifact-content-text-header");
|
||||||
|
//window.location.href=window.location+"#artifact-content-text-header";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
@ -679,7 +681,9 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","choosen","knockout","kno
|
||||||
mainContent.find("#artifact-content-text" ).html(smallSpinnerImg());
|
mainContent.find("#artifact-content-text" ).html(smallSpinnerImg());
|
||||||
mainContent.find("#artifact-content-text" ).html(text);
|
mainContent.find("#artifact-content-text" ).html(text);
|
||||||
prettyPrint();
|
prettyPrint();
|
||||||
goToAnchor("artifact-content-text-header");
|
// olamy do not move to anchor to not loose nav history
|
||||||
|
//goToAnchor("artifact-content-text-header");
|
||||||
|
//window.location.href=window.location+"#artifact-content-text-header";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -846,7 +846,7 @@
|
||||||
<ul id="artifact-content-list-files" class="package-list">
|
<ul id="artifact-content-list-files" class="package-list">
|
||||||
{{each artifactDownloadInfos}}
|
{{each artifactDownloadInfos}}
|
||||||
<li id="${$value.classifier}:${$value.version}:${$value.packaging}">
|
<li id="${$value.classifier}:${$value.version}:${$value.packaging}">
|
||||||
<a href="#">${$value.packaging}:${$value.version} - ${$value.size}</a>
|
<a>${$value.packaging}:${$value.version} - ${$value.size}</a>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue