Erreur history.pushState (IE8) passées silencieuses.
[Plinn.git] / skins / content / folder_factories.pt
index 5a76798..c5ec309 100644 (file)
@@ -46,7 +46,8 @@
           var fm = new FormManager(fform);
           var submitButton;
           fm.onBeforeSubmit = function(self, evt) {
           var fm = new FormManager(fform);
           var submitButton;
           fm.onBeforeSubmit = function(self, evt) {
-            self.submitButton = submitButton;
+            if (submitButton)
+              self.submitButton = submitButton;
           };
           var id2type = /(^[^\.]+)\.id:record$/;
           function trackFocus(evt) {
           };
           var id2type = /(^[^\.]+)\.id:record$/;
           function trackFocus(evt) {