mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 19:00:26 +02:00
JS API ajax request bugfix
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
* e107 Javascript API
|
* e107 Javascript API
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_files/jslib/e107.js.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_files/jslib/e107.js.php,v $
|
||||||
* $Revision: 1.27 $
|
* $Revision: 1.28 $
|
||||||
* $Date: 2009-01-26 14:26:01 $
|
* $Date: 2009-01-27 14:58:51 $
|
||||||
* $Author: secretr $
|
* $Author: secretr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -2378,8 +2378,10 @@ e107Ajax.Request = Class.create({
|
|||||||
|
|
||||||
this.options = {};
|
this.options = {};
|
||||||
Object.extend(this.options, options || {});
|
Object.extend(this.options, options || {});
|
||||||
if(!this.options['parameters'] || !this.options.parameters['ajax_used'])
|
if(!this.options['parameters'])
|
||||||
Object.extend(this.options['parameters'], { 'ajax_used': 1 });
|
this.options['parameters'] = { 'ajax_used': 1 }
|
||||||
|
else if(!this.options.parameters['ajax_used'])
|
||||||
|
this.options['parameters']['ajax_used'] = 1;
|
||||||
|
|
||||||
// only if required
|
// only if required
|
||||||
if(this.options.history) {
|
if(this.options.history) {
|
||||||
|
Reference in New Issue
Block a user