# HG changeset patch # User Sylvain Thénault # Date 1265046916 -3600 # Node ID 709bc9ea6d1eaab997ab3a7697ec3b9a78208aaf # Parent a9a8628a1a87f0f96175ef7b46828571b5807c4b fetch all forms, avoid potential initialization pb diff -r a9a8628a1a87 -r 709bc9ea6d1e web/data/cubicweb.edition.js --- a/web/data/cubicweb.edition.js Mon Feb 01 18:54:46 2010 +0100 +++ b/web/data/cubicweb.edition.js Mon Feb 01 18:55:16 2010 +0100 @@ -424,7 +424,7 @@ */ function setFormsTarget(node) { var $node = jQuery(node || document.body); - $node.find('form.entityForm').each(function () { + $node.find('form').each(function () { var form = jQuery(this); var target = form.attr('cubicweb:target'); if (target) {