We released a new version of AS today which fixes the issues with prototype and rico when using Rails 1.2.1. For details of the issue you can see my previous post.

This is simply a fix for the v3 plugin and contains none of the new (and very exciting stuff) coming in v4. It should be a straight upgrade for anyone on 3.2.2.

No Responses to “AjaxScaffold 3.2.3 Released”

  1. Which alternative for fixing did you implement? Eliminate Rico Corners?

  2. Hi Brittain, no I added the prototype fix to ajax_scaffold.js so the offending method gets overriden.

    Cheers
    Scott.

  3. So, it seems the fix in here is not always that effective (not sure why yet). If you still have issues the prototype hack described in my previous post does work.

    Sorry.
    Scott.

  4. So it seems I fixed only the edit / create the sort remains broken. I’m working on a real fix now.

    Cheers
    Scott.

  5. Hi Scott,
    With Firefox 2.0.0.1, Create/Edit/Delete works and Sort doesn’t work. With IE 6/7, the Sorting working but Create/Edit/Delete doesn’t work. Any Idea why it is not working ?

    Thanks,
    Guru Kathiresan

  6. Hi Scott,
    It seems the 3.2.4 version solves the problem. Thanks for the update.

    -Guru Kathiresan

  7. Here’s a patch to enabled sorting, paging, delete and flash message when Javascript is disabled:

    <pre>
    @@ -153,7 +153,7 @@
    include AjaxScaffold::Common
    include AjaxScaffold::Controller

    - verify :method => :post, :o nly => [ :destroy#{suffix}, :create#{suffix}, :update#{suffix} ],
    + verify :method => :post, :o nly => [ :create#{suffix}, :update#{suffix} ],
    :redirect_to => { :action => :#{prefix}table }

    after_filter :clear_flashes
    @@ -221,6 +221,7 @@
    #{prefix}table_setup
    render#{suffix}_template(:action => ‘table’)
    else
    + #{prefix}table_setup
    #{prefix}return_to_main
    end
    end
    @@ -247,7 +248,7 @@

    # Javascript disabled fallback
    if @successful
    - @options = { :action => "create" }
    + @options = { :scaffold_id => params[:scaffold_id], :action => "create" }
    render#{suffix}_template(:action => "_new_edit.rhtml", :layout => true)
    else
    #{prefix}return_to_main
    </pre>

  8. Sorry for the double posting, I have to say it’s not clear to see that you have submitted the post sucessfully.

  9. Hi Gael, cheers for posting that. I’ve deleted the repeat post. Scott

  10. Scott,
    Sorry in advance for the newbie question. Since ActiveScaffold does not create a folder for partials like AjaxScaffold, how does one add the fckeditor for textareas? I have a Description field in a model that requires html. Is there an attribute in the config variable returned by the active_scaffold method I can set? Or, do I need to edit a partial or template used by Active Scaffold?

  11. This is great! One question: Is there any way around the authentication issue? I have a portal which requires a login/password. Am I out of luck?

  12. Which authentication issue?

Sorry, the comment form is closed at this time.