edit-view change

Issue #79 resolved
Alex M Pro created an issue

not on all att - can change avatar check indexes

Comments (4)

  1. Alex M Pro reporter

    v-edit.php

    <!--
    <div class="col-md-3">
    <p class="file"><br>
    <input size="1" tabindex="8" disabled="disabled" title="выбрать фото/аватар Атлета" type="file" id="image_upload99" name="image_uploadsname" accept=".jpg, .jpeg, .png"  />
    <label for="file" title="фото/аватар Атлета"> <?=$addAvaGUIb;?> </label>
    </p>
    </div>
    <div class="col-md-3">
    <div class="preview" title="фото/аватар Атлета">
    <img src="<?php echo '/img/avaup/'.mt_rand(1, 4).'.png'; ?>"> 
    <div id="theinfo">
    </div>
    </div>
    </div>
    -->
    
  2. Alex M Pro reporter
      //let avatar   = document.getElementById("image_upload99");
      //let input = document.getElementById('image_upload99');
      //let curFiles = input.files;
      //let file = document.getElementById('image_upload99').files[0];
    
  3. Alex M Pro reporter

    also change

      document.getElementById('image_uploads').click();
      let uploadfiles = document.getElementById("image_uploads");
    

    on

      document.getElementById('image_upload1').click();
      let uploadfiles = document.getElementById("image_upload1");
    
  4. Log in to comment