Ignore:
Timestamp:
Jan 3, 2011, 6:28:08 AM (13 years ago)
Author:
rvelices
Message:
  • fix js exception with web services in POST mode
  • added accessor for registered scripts in template
  • added css rule for plugins (images in the categoryActions) it was previsously there but it dissapeared with the sprites
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/js/scripts.js

    r7957 r8449  
    7878                }
    7979
    80                 if (this.options.method == "POST" )
    81                         this.xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    82                 else
     80                if (this.options.method != "POST" )
    8381                {
    8482                        url += "&"+body;
     
    8684                }
    8785                this.xhr.open(this.options.method, url, this.options.async);
     86                if (this.options.method == "POST" )
     87                        this.xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    8888                try {
    8989                        this.xhr.send(body);
Note: See TracChangeset for help on using the changeset viewer.