projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e1156e7
)
fix bug (trouvé par PJ) : le bouton submit sur lequel l’utilisateur avait cliqué...
author
Benoît Pin
<pin@cri.ensmp.fr>
Thu, 12 Dec 2013 10:13:28 +0000
(11:13 +0100)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Thu, 12 Dec 2013 10:13:28 +0000
(11:13 +0100)
skins/content/folder_factories.pt
patch
|
blob
|
history
diff --git
a/skins/content/folder_factories.pt
b/skins/content/folder_factories.pt
index
5a76798
..
282e5de
100644
(file)
--- 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) {
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) {
};
var id2type = /(^[^\.]+)\.id:record$/;
function trackFocus(evt) {