section page fixed..
This commit is contained in:
1 parent
677faf1811
commit
0e39de56e2
5 files changed
+106
-59
No files matched your search
+2
-1
@@ -211,7 +211,8 @@ orbitDesktop.prototype.initializeConferencePapers = function(target,url,cache){
|
||||
this.initializeConferencePapers.coauthorRelationEditForm = function(data){
|
||||
if(data.success){
|
||||
o.notify(data.msg,"success");
|
||||
$("#co_author_relation_table").html(data.newvalue);
|
||||
var x = o.layout_data.generate_layout_html(data.newvalue);
|
||||
$("div[container=true] div.overview").html(x.markup);
|
||||
}else{
|
||||
o.notify(data.msg,"alert");
|
||||
}
|
||||
|
||||
+1
@@ -40,6 +40,7 @@ class Panel::PersonalConference::Desktop::ConferenceCoAuthorRelationsController
|
||||
if @conference_co_author_relation.update_attributes(params[:conference_co_author_relation])
|
||||
@conference_co_author_relations = ConferenceCoAuthorRelation.all
|
||||
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
|
||||
else
|
||||
error_msg = @conference_co_author.errors.full_messages.join("<br />")
|
||||
|
||||
Reference in new issue
Block a user