Changeset 2637


Ignore:
Timestamp:
02/27/13 17:23:11 (11 years ago)
Author:
mwindhouwer
Message:

M mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/js/org/isocat/gui/DCEditor.js

  • some old this.profiles.getProfiles() calls :-(
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/js/org/isocat/gui/DCEditor.js

    r2635 r2637  
    965965                 //check if the DC is member of the private profile
    966966                 var q = null;
    967                  if ((this.profiles.getProfiles().getRecord("profile-0")!=null)) {
     967                 if ((this.getProfiles().getRecord("profile-0")!=null)) {
    968968                         // any simple DC can be linked
    969969                         q = new org.isocat.data.Query(org.isocat.profile.user(),"simple",new Array());
     
    971971                 } else {
    972972                         // only simple DCs from the selected profiles can be linked
    973                          q = new org.isocat.data.Query(org.isocat.profile.user(),"simple",this.profiles.getProfiles().getRecordIds());
     973                         q = new org.isocat.data.Query(org.isocat.profile.user(),"simple",this.getProfiles().getRecordIds());
    974974                         org.isocat.gui.DCEditor.log.info("EDEditor.editIsA():query for simple DCs belonging to selected profiles");
    975975                 }
     
    13271327                org.isocat.replaceSubCDFDocument(cdfDoc,"admin","explanations",this.explanations.getXML(),true);
    13281328                org.isocat.replaceSubCDFDocument(cdfDoc,"admin","issues",this.issues.getXML(),true);
    1329                 org.isocat.replaceSubCDFDocument(cdfDoc,"descr","profiles",this.profiles.getProfiles(),true);
     1329                org.isocat.replaceSubCDFDocument(cdfDoc,"descr","profiles",this.getProfiles(),true);
    13301330                org.isocat.replaceSubCDFDocument(cdfDoc,"descr","datanames",this.dataElementNames.getXML(),true);
    13311331               
Note: See TracChangeset for help on using the changeset viewer.