X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/2039a4daf31855d9dd052b5a354ef2c0214921ca..5da82622ecd01e55a7b4fa0ff379f6386c6142fc:/skins/content/folder_factories.pt?ds=sidebyside 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$/;