X-Git-Url: http://cgit.babelmonkeys.de/?p=adhocweb.git;a=blobdiff_plain;f=js%2Fadhoc.js;h=3638eef87a99fc4c0c86040c228b340a26a690b0;hp=0266318c9e99626dd0b9d0a053ffc2899e54e02d;hb=a4c0f5025877f4858576dba28bbb461f0581a5d1;hpb=5a45869a032410c17d02374b8de20e496c114de3 diff --git a/js/adhoc.js b/js/adhoc.js index 0266318..3638eef 100644 --- a/js/adhoc.js +++ b/js/adhoc.js @@ -46,7 +46,7 @@ Adhoc.prototype = { addForm: function (x) { var self = this; - var form = $("
"); + var form = $(""); form.submit(function(event) { self.executeCommand("execute", self.serializeToDataform('form'), function(e) { self.displayResult(e) }); @@ -57,17 +57,16 @@ Adhoc.prototype = { $(x).find("title").each(function() { $("").text($(this).text()).appendTo(fieldset); }); $(x).find("instructions").each(function() { $("

").text($(this).text()).appendTo(fieldset); }); $(x).find("field").each(function() { + var clearfix = $("

"); var item = self.buildHTMLField(this); var label = $(this).attr("label"); if(label) { - $("