bugfix du bugfix…
authorBenoît Pin <pin@cri.ensmp.fr>
Thu, 12 Dec 2013 10:34:07 +0000 (11:34 +0100)
committerBenoît Pin <pin@cri.ensmp.fr>
Thu, 12 Dec 2013 10:34:07 +0000 (11:34 +0100)
skins/content/folder_factories.pt

index 282e5de..c5ec309 100644 (file)
@@ -46,7 +46,7 @@
           var fm = new FormManager(fform);
           var submitButton;
           fm.onBeforeSubmit = function(self, evt) {
-            if (!fm.submitButton && submitButton)
+            if (submitButton)
               self.submitButton = submitButton;
           };
           var id2type = /(^[^\.]+)\.id:record$/;