Commit fd50e8ea00b894954046c9d774193a37e1dce37a

Authored by Виталий
1 parent ad0bdc1f

git

common/modules/fileloader/resources/handler.js
@@ -23,7 +23,7 @@ $(function() { @@ -23,7 +23,7 @@ $(function() {
23 data.result.result.input + '<p class="fileloader-item-name">'+ 23 data.result.result.input + '<p class="fileloader-item-name">'+
24 '<a href="'+data.result.result.file_href+'" target="_blank">'+data.result.result.file_name+'</a></p>'+'<span class="fileloader-item-remove glyphicon glyphicon-remove"></span>'+ 24 '<a href="'+data.result.result.file_href+'" target="_blank">'+data.result.result.file_name+'</a></p>'+'<span class="fileloader-item-remove glyphicon glyphicon-remove"></span>'+
25 '</div>'; 25 '</div>';
26 - $('#modal_form_contacts span').css({display:'none'}) 26 + $('#modal_form_contacts .contacts-form-help span').css({display:'none'});
27 if(!multiple) { 27 if(!multiple) {
28 var inputs = $(wrapper).find('.fileloader-item-remove'); 28 var inputs = $(wrapper).find('.fileloader-item-remove');
29 $.each(inputs, function(i, v) { 29 $.each(inputs, function(i, v) {
@@ -48,6 +48,7 @@ $(function() { @@ -48,6 +48,7 @@ $(function() {
48 }, 48 },
49 function(data) {} 49 function(data) {}
50 ); 50 );
  51 + $('#modal_form_contacts .contacts-form-help span').css({display:'block'});
51 $(wrapper).remove(); 52 $(wrapper).remove();
52 }); 53 });
53 }); 54 });
frontend/web/css/style.css
@@ -12375,3 +12375,12 @@ li.active-menu-admin:hover a .ico_num { @@ -12375,3 +12375,12 @@ li.active-menu-admin:hover a .ico_num {
12375 font-size: 13px; 12375 font-size: 13px;
12376 } 12376 }
12377 .left-proektant-cabinet .summary {color: inherit;margin-top: 0} 12377 .left-proektant-cabinet .summary {color: inherit;margin-top: 0}
  12378 +#modal_form_contacts .fileloader-list {
  12379 + position: absolute;
  12380 + top: 34px;
  12381 + left: 0;
  12382 + width: 100%;
  12383 + height: 19px;
  12384 + overflow: hidden;
  12385 + text-align: right;
  12386 +}
12378 \ No newline at end of file 12387 \ No newline at end of file