Permalink
Browse files

NewForm => Form

  • Loading branch information...
1 parent 5c8613d commit 4c0d07072845e72ae8a1fff15a8b1fcba6deb045 @ratnikov committed Feb 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -58,7 +58,7 @@ Finally, hook form functionality into the created form using the <tt>Story</tt>
jQuery(document).ready(function() {
jQuery("div.new-story-form").each(function() {
var form = this;
- var story_form = new AjaxResource.NewForm(this, {
+ var story_form = new AjaxResource.Form(this, {
on_create: function(model) {
alert("Successfully created a story!");

0 comments on commit 4c0d070

Please sign in to comment.