Localisation.
[Plinn.git] / 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) {
           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$/;
               self.submitButton = submitButton;
           };
           var id2type = /(^[^\.]+)\.id:record$/;