File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/front_enqueue_js.js.tar
httpdocs/wp-content/plugins/so-widgets-bundle/compat/visual-composer/front_enqueue_js.js 0000644 00000001216 15154547663 0034313 0 ustar 00 var/www/vhosts/uyarreklam.com.tr jQuery( function ( $ ) {
var ajaxData = vc.EditElementPanelView.prototype.ajaxData;
vc.EditElementPanelView.prototype.ajaxData = function() {
if ( this.model.get( 'shortcode' ) === 'siteorigin_widget_vc' && this.model.get( 'from_content' ) ) {
var widgetData = this.model.get( 'params' ).so_widget_data;
// Need to add slashes for frontend the first time after data is parsed from content, due to shortcode
// processing removing slashes.
widgetData = widgetData.replace( /\\/g, '\\\\' );
this.model.set( 'params', { so_widget_data: widgetData } );
this.model.unset( 'from_content' );
}
return ajaxData.apply( this );
};
} );