From 2039a4daf31855d9dd052b5a354ef2c0214921ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Thu, 12 Dec 2013 11:13:28 +0100 Subject: [PATCH] =?utf8?q?fix=20bug=20(trouv=C3=A9=20par=20PJ)=C2=A0:=20le?= =?utf8?q?=20bouton=20submit=20sur=20lequel=20l=E2=80=99utilisateur=20avai?= =?utf8?q?t=20cliqu=C3=A9=20=C3=A9tait=20perdu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/content/folder_factories.pt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skins/content/folder_factories.pt b/skins/content/folder_factories.pt index 5a76798..282e5de 100644 --- a/skins/content/folder_factories.pt +++ b/skins/content/folder_factories.pt @@ -46,7 +46,8 @@ var fm = new FormManager(fform); var submitButton; fm.onBeforeSubmit = function(self, evt) { - self.submitButton = submitButton; + if (!fm.submitButton && submitButton) + self.submitButton = submitButton; }; var id2type = /(^[^\.]+)\.id:record$/; function trackFocus(evt) { -- 2.20.1