small fix for journal_pages desktop

This commit is contained in:
Harry Bomrah committed 2012-11-21 17:11:18 +08:00
1 parent b571373c8f
commit c94940214c
5 files changed
+11 -13

No files matched your search

@@ -207,15 +207,13 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
}
bindHandlers();
}
this.initializeJournalPapers.coAuthorformCallback = function(ruse){
this.initializeJournalPapers.formCallback = function(data){
this.initializeJournalPapers.coAuthorformCallback = function(data){
if(data.success){
o.notify(data.msg,"success");
o.sub_menu_item($("div[content-type=menu] a").eq(0));
}else{
o.notify(data.msg,"alert");
}
}
}
this.initializeJournalPapers.coauthor = function(){ // to open add pages in journal papers page
var bindHandlers = function(){ // to bind handlers for add page