From: Florian Zeitz Date: Tue, 24 Aug 2010 18:20:35 +0000 (+0200) Subject: Coding Style X-Git-Url: http://cgit.babelmonkeys.de/?p=adhocweb.git;a=commitdiff_plain;h=043000b3ce1e5b64299def211df4306df2b06315;ds=sidebyside Coding Style --- diff --git a/js/main.js b/js/main.js index db4a075..fb76f38 100644 --- a/js/main.js +++ b/js/main.js @@ -57,98 +57,98 @@ function addForm(elem, x) { $("").text($(x).find("title").text()).appendTo(fieldset); $("

").text($(x).find("instructions").text()).appendTo(fieldset); $(x).find("field").each(function(){ - var item = null; - var type = $(this).attr("type"); - if($(this).attr("label")) { - $("