projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Réindexation des memberdata. Refactoring.
[Plinn.git]
/
skins
/
ajax_scripts
/
ajax_form_manager.js
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);
};
};