You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/05/29 19:42:53 UTC
[ignite-teamcity-bot] branch master updated: Current failures page
update
This is an automated email from the ASF dual-hosted git repository.
dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git
The following commit(s) were added to refs/heads/master by this push:
new 55ea567 Current failures page update
55ea567 is described below
commit 55ea5677fdc605d8adc8e788ba5fcb67a5484029
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Wed May 29 22:42:48 2019 +0300
Current failures page update
---
ignite-tc-helper-web/src/main/webapp/current.html | 5 ++---
ignite-tc-helper-web/src/main/webapp/js/common-1.6.js | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/ignite-tc-helper-web/src/main/webapp/current.html b/ignite-tc-helper-web/src/main/webapp/current.html
index 053fb6a..69b14de 100644
--- a/ignite-tc-helper-web/src/main/webapp/current.html
+++ b/ignite-tc-helper-web/src/main/webapp/current.html
@@ -22,9 +22,8 @@ $(document).ready(function() {
$( document ).tooltip();
loadData();
- //todo fix setInterval( function() { checkForUpdate(); }, 30000);
- $.ajax({ url: "rest/branches/version", success: showVersionInfo, error: showErrInLoadStatus });
+ $.ajax({ url: "/rest/branches/version", success: showVersionInfo, error: showErrInLoadStatus });
});
function parmsForRest() {
@@ -71,6 +70,7 @@ function loadData() {
$("#loadStatus").html("<img src='https://www.wallies.com/filebin/images/loading_apple.gif' width=20px height=20px> Please wait");
setTimeout(loadPartialData, 3000);
+
$.ajax({
url: curFailuresUrl,
success: function (result) {
@@ -129,7 +129,6 @@ function showData(result) {
</script>
<div id="loadStatus"></div>
-<div><a href=".">Home</a><br></div>
<div id="divFailures"></div>
<div id="version"></div>
diff --git a/ignite-tc-helper-web/src/main/webapp/js/common-1.6.js b/ignite-tc-helper-web/src/main/webapp/js/common-1.6.js
index 7b35ccf..17cdad5 100644
--- a/ignite-tc-helper-web/src/main/webapp/js/common-1.6.js
+++ b/ignite-tc-helper-web/src/main/webapp/js/common-1.6.js
@@ -140,7 +140,7 @@ function setupMenu() {
g_menuSet = true;
$.ajax({
- url: "rest/user/currentUserName",
+ url: "/rest/user/currentUserName",
success: showMenu,
error: function () {
//not logged in