section page fixed..
This commit is contained in:
parent
44fede2b71
commit
84afbfa86c
|
@ -40,6 +40,7 @@ class Panel::PersonalConference::Desktop::ConferenceCoAuthorRelationsController
|
||||||
if @conference_co_author_relation.update_attributes(params[:conference_co_author_relation])
|
if @conference_co_author_relation.update_attributes(params[:conference_co_author_relation])
|
||||||
@conference_co_author_relations = ConferenceCoAuthorRelation.all
|
@conference_co_author_relations = ConferenceCoAuthorRelation.all
|
||||||
newv = render_to_string partial: "show_form", object: @conference_co_author_relations
|
newv = render_to_string partial: "show_form", object: @conference_co_author_relations
|
||||||
|
newv = '<div class="overview" content-layout="datalist" per-column="4" base-width="300">' + newv + '</div>'
|
||||||
render json: {success: true, msg: t('update_success'), newvalue: newv}.to_json
|
render json: {success: true, msg: t('update_success'), newvalue: newv}.to_json
|
||||||
else
|
else
|
||||||
error_msg = @conference_co_author.errors.full_messages.join("<br />")
|
error_msg = @conference_co_author.errors.full_messages.join("<br />")
|
||||||
|
|
Reference in New Issue