projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0fac64b
)
bugfix envoi du formulaire par méthode get.
author
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 17 Oct 2014 14:07:05 +0000
(16:07 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 17 Oct 2014 14:07:05 +0000
(16:07 +0200)
skins/ajax_scripts/ajax_form_manager.js
patch
|
blob
|
history
diff --git
a/skins/ajax_scripts/ajax_form_manager.js
b/skins/ajax_scripts/ajax_form_manager.js
index
acca796
..
8afd120
100644
(file)
--- a/
skins/ajax_scripts/ajax_form_manager.js
+++ b/
skins/ajax_scripts/ajax_form_manager.js
@@
-100,16
+100,11
@@
FormManager.prototype.submit = function(evt) {
query += submitButton.name + '=' + submitButton.value + '&';
}
query += submitButton.name + '=' + submitButton.value + '&';
}
- if (window.AJAX_CONFIG && ((AJAX_CONFIG & 1) === 1)) {
- if (form.method.toLowerCase() === 'post') {
- this._post(query);
- }
- else {
- this._get(query);
- }
+ if (form.method.toLowerCase() === 'post') {
+ this._post(query);
}
else {
}
else {
- this._
pos
t(query);
+ this._
ge
t(query);
}
try {disableDefault(evt);}
}
try {disableDefault(evt);}
@@
-145,10
+140,9
@@
FormManager.prototype._post = function(query) {
};
FormManager.prototype._get = function(query) {
};
FormManager.prototype._get = function(query) {
- // send form by browser location
var url = this.form.action;
url += '?' + query;
var url = this.form.action;
url += '?' + query;
-
l
inkHandler.loadUrl(url);
+
AjaxL
inkHandler.loadUrl(url);
};
};