From c9465ae77cfc79d482cb5ad4a2e138bc39c42e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 2 Apr 2010 08:51:23 +0200 Subject: [PATCH] Remove not used code paths. --- js/functions.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/functions.js b/js/functions.js index 02d1bbeba..8dea75d94 100644 --- a/js/functions.js +++ b/js/functions.js @@ -576,7 +576,6 @@ function validateConnection(form_name, form_obj) { // All the text fields are checked excluding the port field because the default port can be used. if ((form_name.elements[i].type == 'text') && (form_name.elements[i].name != 'src_port') && (form_name.elements[i].name != 'trg_port')) { - check = true; check = emptyFormElements(form_obj, form_name.elements[i].name); if (check==false) { element = form_name.elements[i].name; @@ -592,7 +591,6 @@ function validateConnection(form_name, form_obj) break; else continue; - break; } } }