removing duplicate code from js file

This commit is contained in:
harrybomrah authored and saurabhbhatia committed 2013-07-30 16:41:54 +08:00
1 parent a458a50e97
commit 20521dc8b0
3 files changed
+10 -8

No files matched your search

@@ -11,7 +11,7 @@ orbitDesktop.prototype.initializeConferencePapers = function(target,url,cache){
this.initializeConferencePapers.list = function(){ // to open list part in conference papers page
var conferenceData;
var bindHandlers = function(){ // to bind handlers for list page
o.simple_drop_down();
}
bindHandlers();
@@ -92,7 +92,7 @@ orbitDesktop.prototype.initializeConferencePapers = function(target,url,cache){
}
var bindHandlers = function(){
o.simple_drop_down();
}
bindHandlers();
uploadFiles();
@@ -100,7 +100,7 @@ orbitDesktop.prototype.initializeConferencePapers = function(target,url,cache){
this.initializeConferencePapers.conference = function(){ // to open add pages in conference papers page
var bindHandlers = function(){ // to bind handlers for add page
o.simple_drop_down();
}
bindHandlers();
}
@@ -115,7 +115,7 @@ orbitDesktop.prototype.initializeConferencePapers = function(target,url,cache){
}
this.initializeConferencePapers.coauthor = function(){ // to open add pages in coauthor page
var bindHandlers = function(){ // to bind handlers for add page
o.simple_drop_down();
}
bindHandlers();
}
@@ -11,7 +11,7 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
this.initializeJournalPapers.list = function(){ // to open list part in journal papers page
var journalData;
var bindHandlers = function(){ // to bind handlers for list page
o.simple_drop_down();
}
bindHandlers();
@@ -93,7 +93,7 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
// console.log("hi");
var bindHandlers = function(){
o.simple_drop_down();
}
bindHandlers();
@@ -103,7 +103,7 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
this.initializeJournalPapers.journal = function(){ // to open add pages in journal papers page
var bindHandlers = function(){ // to bind handlers for add page
o.simple_drop_down();
}
bindHandlers();
}
@@ -118,7 +118,7 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
}
this.initializeJournalPapers.coauthor = function(){ // to open add pages in coauthor page
var bindHandlers = function(){ // to bind handlers for add page
o.simple_drop_down();
}
bindHandlers();
}