From d8fba8ade5a79a0696812783d0dbd30255ba13dc Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Thu, 7 May 2015 15:03:01 +0200 Subject: [PATCH] MT#7247 panel: update uuids without refresh Change-Id: Ic7cf77377782c404d09794e26af7dd05d9afd76a --- panel/templates/panel/project.html | 6 ++++++ panel/templates/panel/release.html | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/panel/templates/panel/project.html b/panel/templates/panel/project.html index c564830..50fb73e 100644 --- a/panel/templates/panel/project.html +++ b/panel/templates/panel/project.html @@ -296,6 +296,12 @@ function get_uuids_for_project(release, project) { $( document ).ready(function() { $('.project').each(function(){ var project = $(this).attr('id'); + + $.project.timer = setInterval(function() { + get_uuids_for_project('{{release}}', project); + }, $.project.interval); + console.log(project + ' get uuids setInterval ' + $.project.interval); + get_uuids_for_project('{{ release }}', project); }); }); diff --git a/panel/templates/panel/release.html b/panel/templates/panel/release.html index a53c685..407fec1 100644 --- a/panel/templates/panel/release.html +++ b/panel/templates/panel/release.html @@ -32,7 +32,7 @@ {% block extrajs %}