Changeset 4376
- Timestamp:
- 05/29/06 00:05:41 (2 years ago)
- Files:
-
- trunk/railties/html/javascripts/prototype.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/html/javascripts/prototype.js
r4182 r4376 670 670 if (parameters.length > 0) parameters += '&_='; 671 671 672 /* Simulate other verbs over post */ 673 if (this.options.method != 'get' && this.options.method != 'post') { 674 parameters += (parameters.length > 0 ? '&' : '') + '_method=' + this.options.method 675 this.options.method = 'post' 676 } 677 672 678 try { 673 679 this.url = url;