projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix.
[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
248f183
..
6f6748e
100644
(file)
--- a/
skins/ajax_scripts/ajax_form_manager.js
+++ b/
skins/ajax_scripts/ajax_form_manager.js
@@
-1,4
+1,4
@@
-// (c) Benoît PIN 2006-20
07
+// (c) Benoît PIN 2006-20
14
// http://plinn.org
// Licence GPL
//
// http://plinn.org
// Licence GPL
//
@@
-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;
-
linkHandler
.loadUrl(url);
+
AjaxLinkHandler.prototype
.loadUrl(url);
};
};