anchor.diff:              var ncic = oRecord.getData("ncic");
               var st = oRecord.getData("shortTitle");
   
  -            if (action == "UPDATE")
  -                elCell.innerHTML = "<span id='studyLink" + _index + "'><a href='#' onclick='updateStudy(\"" + fsid +"\", " + _index + ", \"" + ncic + "\")'>Update</a></span>";
  -            else
  -                elCell.innerHTML = "<span id='studyLink" + _index + "'><a href='#' onclick='importStudy(\"" + fsid +"\", "+ _index + ", \"" + ncic  + "\")' id='studyLink" + _index + "'>Import</a></span>";
  +            if (action == "UPDATE") {
  +                elCell.innerHTML = actionsRow.interpolate({index:_index, action:"UPDATE", fsid:fsid, ncic:ncic, studyId:id});
  +                // elCell.innerHTML = "<span id='studyLink" + _index + "'><a href='#' onclick='updateStudy(\"" + fsid +"\", " + _index + ", \"" + ncic + "\")'>Update</a></span>";
  +            } else {
  +                elCell.innerHTML = actionsRow.interpolate({index:_index, action:"CREATE", fsid:fsid, ncic:ncic, studyId:id});
  +                // elCell.innerHTML = "<span id='studyLink" + _index + "'><a href='#' onclick='importStudy(\"" + fsid +"\", "+ _index + ", \"" + ncic  + "\")' id='studyLink" + _index + "'>Import</a></span>";
  +            }
           };
   
           var studiesColumnDefs = [
               {key:"fsid", label:"Identifier", sortable:true, resizeable:true, minWidth:100},
               {key:"shortTitle", label:"Title", sortable:true, resizeable:true, minWidth:700},
  -            {key:"action", label:"Action", sortable:true, resizeable:true, minWidth:100, formatter:actionFormatter}
  +            {key:"action", label:"&nbsp;", sortable:true, resizeable:true, minWidth:100, formatter:actionFormatter}
           ];
   
           var studiesFields = [
  
positive.code: 
      <script language="JavaScript">
  
  
          var actionFormatter = function(elCell, oRecord, oColumn, oData) {
  
  
              var _index = this.getRecordIndex(oRecord);
              var action = oRecord.getData("action");
              var id = oRecord.getData("id");
  
negative.code:         });
      }
  
  /*
      function updateStudy(id, _index, nciCode) {
          doUpdate(id, _index, nciCode, "UPDATE");
      }
  
      function importStudy(id, _index, nciCode) {
          doUpdate(id, _index, nciCode, "CREATE");
      }
  */
  
      function editStudy(id) {
          window.location = "<c:url value="/pages/study/edit?studyId=" />" + id;
      }
  
  </script>
  