Displaying 1 result from an estimated 1 matches for "innmeldingscontrol".
2011 Mar 22
0
Error on ajax forms/links in jQuery UI tabs
...itch betweens the tabs, the more times the ajax
link submits. I have googled it, but not found anything, which makes
me believe this is not a common error in the JQuery UI tabs.
Any idea what I do wrong?
I uses rails 3.05. I''ve tried different versions of jQuery og jQuery
Ui:
----
class InnmeldingsController < ApplicationController
respond_to :js, :html
...
def destroy
@innmelding = Innmelding.find(params[:id])
@innmelding.destroy
@innmeldings = Innmelding.all
respond_with( @innmeldings, :layout => !request.xhr? )
end
...
def list
@innmeldings = Innmelding.all
r...