anchor.diff:                  propertiesDiv.innerHTML='';
                   var elem=propertiesDiv.appendChild(document.createElement('div'));
                   elem.id='paramsTable';
  -                for (var key in paramList)
  -                {
  -                    var owner = getUserData(paramList.owner);
  -                    var infoHTML = '';
  -                    infoHTML += '<img alt="дефолтная иконка" class="img-rounded" src="default_file.png"></br>';
  -                    infoHTML += '<label for="owner">Владелец</label>';
  -                    infoHTML += '<div id="owner" class="" data-toggle="modal" data-target="#properties" onclick="showUserProperties('+owner.id+')" class="btn-link">' + owner.name + '</div>';
  -                    infoHTML += '<label for="FILEID">Id</label>';
  -                    infoHTML += '<input disabled class="form-control" id="FILEID" value="' + paramList.id + '">';
  -                    infoHTML += '<label for="FILENAME">Имя файла</label>';
  -                    infoHTML += '<input class="form-control" onchange="updateFileData()" id="FILENAME" type="text" value="' + paramList.name + '">';
  -                    infoHTML += '<label for="FILEEXT">Расширение</label>';
  -                    infoHTML += '<input class="form-control" onchange="updateFileData()" id="FILEEXT" type="text" value="' + paramList.ext + '">';
  -                    infoHTML += '<label for="FILEDATA">Дата загрузки</label>';
  -                    infoHTML += '<input disabled class="form-control" id="FILEDATE" value="' + paramList.date + '">';
  -                    infoHTML += '<label for="FILEHASH">Хэш файла</label>';
  -                    infoHTML += '<input disabled class="form-control" id="FILEHASH" value="' + paramList.hash + '">';
  -                    elem.innerHTML = infoHTML;
  -                }
  +                var owner = getUserData(paramList.owner);
  +                var infoHTML = '';
  +                infoHTML += '<img alt="Иконка" class="img-rounded" src="app/img/filetypes/png/'+paramList.ext+'.png"></br>';
  +                infoHTML += '<label for="owner">Владелец</label>';
  +                infoHTML += '<div id="owner" class="" data-toggle="modal" data-target="#properties" onclick="showUserProperties('+owner.id+')" class="btn-link">' + owner.name + '</div>';
  +                infoHTML += '<label for="FILEID">Id</label>';
  +                infoHTML += '<input disabled class="form-control" id="FILEID" value="' + paramList.id + '">';
  +                infoHTML += '<label for="FILENAME">Имя файла</label>';
  +                infoHTML += '<input class="form-control" onchange="updateFileData()" id="FILENAME" type="text" value="' + paramList.name + '">';
  +                infoHTML += '<label for="FILEEXT">Расширение</label>';
  +                infoHTML += '<input class="form-control" onchange="updateFileData()" id="FILEEXT" type="text" value="' + paramList.ext + '">';
  +                infoHTML += '<label for="FILEDATA">Дата загрузки</label>';
  +                infoHTML += '<input disabled class="form-control" id="FILEDATE" value="' + paramList.date + '">';
  +                infoHTML += '<label for="FILEHASH">Хэш файла</label>';
  +                infoHTML += '<input disabled class="form-control" id="FILEHASH" value="' + paramList.hash + '">';
  +                elem.innerHTML = infoHTML;
               }
   //---------
               function updateFileData()
  
positive.code:       <div class="modal-dialog">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal">&times;</button>
            </div>
            <div id="properties" class="modal-body">
              <p>Some text in the modal.</p>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button>
  
negative.code:                     });
                  }, 1000);
              }
          </script>
      </head>
      
  