Ignore:
Timestamp:
Dec 21, 2010, 2:22:33 PM (10 years ago)
Author:
t.w.abma@…
Message:
  • fixed minor bugs in the import wizard introduced by rewritten studywizard (JS/CSS code was still partly based on study wizard)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/common/_missingproperties.gsp

    r1281 r1305  
    2626</g:else>
    2727
    28 <script>
    29   $(document).ready(function() {
    30 
    31 // handle term selects
    32     new SelectAddMore().init({
    33         rel     : 'term',
    34         url     : baseUrl + '/termEditor',
    35         vars    : 'ontologies',
    36         label   : 'add more...',
    37         style   : 'addMore',
    38         onClose : function(scope) {
    39             refreshFlow();           
    40              //location.reload();
    41              /*updatefield = '<input type = "hidden" name="updatefield" value="true" / >';
    42              $('#missingpropertiesform').append(updatefield);
    43              $('#missingpropertiesform').submit();*/
    44         }
    45     });
    46 
    47   });
    48 </script>
    49 
    5028<script type="text/javascript">
    51   $(document).ready(function() {
     29 $(document).ready(function() {
    5230        // mark error fields
    53         <g:each in="${failedcells}" var="record">
     31        <g:each in="${importer_failedcells}" var="record">
    5432          <g:each in="${record.importcells}" var="cell">
    5533          var element = $("select[name=entity_${cell.entityidentifier}_${cell.mappingcolumn.property}]");
     
    6846
    6947<div class="wizard" id="wizard">
    70     <div class="table">
     48    <div class="tableEditor">
    7149        <g:set var="showHeader" value="${true}"/>
    7250            <g:each status="index" var="table" in="${datamatrix}">
Note: See TracChangeset for help on using the changeset viewer.