form for coauthor - fixed

This commit is contained in:
harrybomrah committed 2012-12-03 14:54:52 +08:00
1 parent 8ab7245695
commit 56aa125ade
3 files changed
+27 -2

No files matched your search

@@ -322,7 +322,32 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
})
return false;
})
$("a.bt-co-author").click(function(){
$.ajax({
url : $(this).attr("href"),
type : "get",
success : function(data){
var prev_data = $("div[container=true]").html();
$("div[container=true]").html(data);
o.tinyscrollbar_ext({
main: '.tinycanvas',
fill: '.s_grid_con'
})
$(".bt-cancel").click(function(){
$("div[container=true]").html(prev_data);
})
}
})
return false;
})
}
bindHandlers();
}
this.initializeJournalPapers.coauthorRelationForm = function(data){
if(data.success){
o.notify(data.msg,"success");
}else{
o.notify(data.msg,"alert");
}
}
};