From 8176c12adfe6c28df1d45588e1160c65107ab3e3 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 25 Jul 2013 16:26:38 -0300 Subject: We don't need a var here --- config/openbgpd/openbgpd_status.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config') diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php index 4ed644bd..99076d12 100644 --- a/config/openbgpd/openbgpd_status.php +++ b/config/openbgpd/openbgpd_status.php @@ -201,9 +201,8 @@ function execCmds() { // First line contain field id to be updated var responseTextArr = transport.responseText.split("\n"); var id = responseTextArr.shift(); - var result = responseTextArr.join("\n"); - document.getElementById(id).textContent = result; + document.getElementById(id).textContent = responseTextArr.join("\n"); } //]]> -- cgit v1.2.3