Commit becb9790 authored by Romain Courteaud's avatar Romain Courteaud

Do not add one more refresh process for existing element.

parent 4e8a69f3
...@@ -169,13 +169,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -169,13 +169,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
status_context = $(this).append(\'<li><a class="check_monitoring" id="\'\n status_context = $(this).append(\'<li><a class="check_monitoring" id="\'\n
+ status_id + \'" data-url="\' + encodeURIComponent(status_url) + \'"></a></li>\')\n + status_id + \'" data-url="\' + encodeURIComponent(status_url) + \'"></a></li>\')\n
.find(\'#\' + status_id);\n .find(\'#\' + status_id);\n
}\n
(function(new_context) {\n (function(new_context) {\n
setTimeout(function () {\n setTimeout(function () {\n
update_status(new_context);\n update_status(new_context);\n
});\n });\n
})(status_context);\n })(status_context);\n
}\n }\n
}\n
},\n },\n
complete: function() {\n complete: function() {\n
var context = $(this);\n var context = $(this);\n
......
5 6
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment