AntonLV hace 5 años
padre
commit
a32e84a8f5

+ 6 - 4
modules/boonex/market/js/form.js

@@ -62,11 +62,13 @@ BxMarketForm.prototype.checkName = function(sTitleId, sNameId, iId) {
 };
 
 BxMarketForm.prototype.changeFileType = function(oSelect) {
-	var sValue = jQuery(oSelect).val();
+    var sValue = jQuery(oSelect).val();
 
-	jQuery(oSelect).parents('.bx-uploader-ghost:first').find('.bx-uploader-ghost-type-rel:visible').bx_anim('hide', 'fade', 'fast', function() {
-		jQuery(this).parent().find('.bx-uploader-ghost-type-' + sValue).bx_anim('show', 'fade', 'fast');
-	});
+    jQuery(oSelect).parents('.bx-uploader-ghost:first').find('.bx-uploader-ghost-type-rel:visible').bx_anim('hide', 'fade', 'fast', function() {
+        jQuery(this).parent().find('.bx-uploader-ghost-type-' + sValue).bx_anim('show', 'fade', 'fast');
+
+        jQuery(oSelect).parents('.bx-form-input-files-result:first').bx_show_more_check_overflow();
+    });
 };
 
 /** @} */

+ 1 - 1
modules/boonex/market/template/css/forms.css

@@ -9,7 +9,7 @@
 /*--- Uploader Ghost ---*/
 #bx-form-element-files .bx-form-input-files-result {
     position: relative;
-    max-height: 20rem;
+    max-height: 22.25rem;
     overflow: hidden;
 }