From: Benoît Pin Date: Thu, 12 Dec 2013 10:34:07 +0000 (+0100) Subject: bugfix du bugfix… X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/commitdiff_plain/226598c5183d7075c52a7f196875c2b85f9b7ff0?ds=sidebyside bugfix du bugfix… --- diff --git a/skins/content/folder_factories.pt b/skins/content/folder_factories.pt index 282e5de..c5ec309 100644 --- a/skins/content/folder_factories.pt +++ b/skins/content/folder_factories.pt @@ -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$/;