Електронен обмен на данни за изплащане на парични обезщетения от ДОО - НОИ
2743
Skip to content
nce 1.5.4
* @access private
* @method _clearFormFieldError
*/
_clearFormFieldError: function()
{
var field = $( this );
field.removeClass( 'fl-form-error' );
field.siblings( '.fl-form-error-message' ).hide();
},
/**
* Init Row Shape Layer's height.
*
* @since 2.5.3
* @access private
* @method _initRowShapeLayerHeight
*/
_initRowShapeLayerHeight: function () {
FLBuilderLayout._adjustRowShapeLayerHeight();
$( window ).on( 'resize', FLBuilderLayout._adjustRowShapeLayerHeight );
},
/**
* Adjust Row Shape Layer's height to fix to remove the fine line that appears on certain screen sizes.
*
* @since 2.5.3
* @access private
* @method _adjustRowShapeLayerHeight
*/
_adjustRowShapeLayerHeight: function() {
var rowShapeLayers = $('.fl-builder-shape-layer');
$( rowShapeLayers ).each(function (index) {
var rowShapeLayer = $(this),
shape = $(rowShapeLayer).find('svg'),
height = shape.height(),
excludeShapes = '.fl-builder-shape-circle, .fl-builder-shape-dot-cluster, .fl-builder-shape-topography, .fl-builder-shape-rect';
if ( ! rowShapeLayer.is( excludeShapes ) ) {
$(shape).css('height', Math.ceil( height ) );
}
});
},
_string_to_slug: function( str ) {
str = str.replace(/^\s+|\s+$/g, ''); // trim
if ( 'undefined' == typeof window._fl_string_to_slug_regex ) {
regex = new RegExp('[^a-zA-Z0-9\'":() !.,-_|]', 'g');
} else {
regex = new RegExp('[^' + window._fl_string_to_slug_regex + '\'":\(\) !.,-_|\\\p{Letter}]', 'ug');
}
str = str.replace(regex, '') // remove invalid chars
.replace(/\s+/g, ' '); // collapse whitespace and replace by a space
return str;
},
_reorderMenu: function() {
if ( $('#wp-admin-bar-fl-builder-frontend-edit-link-default li').length > 1 ) {
$( '#wp-admin-bar-fl-builder-frontend-duplicate-link' )
.appendTo('#wp-admin-bar-fl-builder-frontend-edit-link-default')
.css( 'padding-top', '5px' )
.css( 'border-top', '2px solid #1D2125' )
.css( 'margin-top', '5px' )
}
}
};
/* Initializes the builder layout. */
$(function(){
FLBuilderLayout.init();
});
})(jQuery);
/* Start Global JS */
/* End Global JS */
/* Start Global Node Custom JS */
/* End Global Node Custom JS */
/* Start Layout Custom JS */
/* End Layout Custom JS */
/* Start Layout Custom JS */
/* End Layout Custom JS */
/* Start Layout Custom JS */
/* End Layout Custom JS */