From 62e166fd6fe9fdc2ac35ee94b727060da9f6f815 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Tue, 24 Aug 2010 17:05:31 +0000 Subject: [PATCH] NIHVIVO-803 Removed methods no longer needed after reimplementation of author reordering. --- .../js/addAuthorsToInformationResource1.js | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/productMods/edit/forms/js/addAuthorsToInformationResource1.js b/productMods/edit/forms/js/addAuthorsToInformationResource1.js index e525d815..8b6afcfe 100644 --- a/productMods/edit/forms/js/addAuthorsToInformationResource1.js +++ b/productMods/edit/forms/js/addAuthorsToInformationResource1.js @@ -393,33 +393,6 @@ var addAuthorForm = { $(authorship).data('position', pos); }, - // Get the authorship rank value, which includes xsd type - getRankStrVal: function(authorship) { - return $(authorship).data('rankVal'); - }, - - // Get the authorship numeric rank - getRankIntVal: function(authorship) { - var rankVal = this.getRankStrVal(authorship); - return this.getRankIntValFromRankVal(rankVal); - }, - - getRankIntValFromRankVal: function(rankVal) { - return parseInt(rankVal.split('_')[0]); - }, - - setRank: function(authorship, rankVal) { - $(authorship).data('rankVal', rankVal); - }, - - makeRankDataPropVal: function(rank, xsdType) { - var rankVal = '"' + rank + '"'; - if (xsdType) { - rankVal += '^^<' + xsdType + '>' - } - return rankVal; - }, - findAuthorship: function(key, value) { var matchingAuthorship = $(); // if we don't find one, return an empty jQuery set