diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-02 11:25:21 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-02 11:25:21 +0000 |
commit | 50f0a736242e65408c06b62b0fbd68e2ea349c23 (patch) | |
tree | 6e65bb01cde1e63a2c84a55ffc41372d07e99610 /actionpack/lib/action_view/helpers/javascripts/controls.js | |
parent | c2060719d358d60cb4f4204a6c79abebf6ff9b90 (diff) | |
download | rails-50f0a736242e65408c06b62b0fbd68e2ea349c23.tar.gz rails-50f0a736242e65408c06b62b0fbd68e2ea349c23.tar.bz2 rails-50f0a736242e65408c06b62b0fbd68e2ea349c23.zip |
Added JavascriptHelper#draggable_element and JavascriptHelper#drop_receiving_element to facilitate easy dragging and dropping through the script.aculo.us libraries #1578 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/javascripts/controls.js')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascripts/controls.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/javascripts/controls.js b/actionpack/lib/action_view/helpers/javascripts/controls.js index f4be26b289..e68820d834 100644 --- a/actionpack/lib/action_view/helpers/javascripts/controls.js +++ b/actionpack/lib/action_view/helpers/javascripts/controls.js @@ -116,7 +116,7 @@ Ajax.Autocompleter.prototype = (new Ajax.Base()).extend({ this.startIndicator(); this.options.parameters = this.options.callback ? this.options.callback(this.element, Form.Element.getValue(this.element)) : - Form.Element.getValue(this.element); + Form.Element.serialize(this.element); new Ajax.Request(this.url, this.options); } else { this.active = false; |