Submit
Path:
~
/
home
/
getwphos
/
public_html
/
brueggemann
/
wp-content
/
plugins
/
js_composer
/
modules
/
custom-js
/
assets
/
js
/
File Content:
editor-events.js
( function () { document.addEventListener( 'wpbAceEditorContentChanged', function ( event ) { updateFrontEditorCurrentValue( event ); }); document.addEventListener( 'wpbPageSettingRollBack', function ( event ) { updateFrontEditorCurrentValue( event ); if ( event.detail.wpb_js_header_editor ) { vc.$custom_js_header.val( event.detail.wpb_js_header_editor.previousValue ); } if ( event.detail.wpb_js_footer_editor ) { vc.$custom_js_footer.val( event.detail.wpb_js_footer_editor.previousValue ); } }); function updateFrontEditorCurrentValue ( event ) { if ( !vc.frame_window ) { return; } if ( event.detail.wpb_js_header_editor ) { var currentValue = event.detail.wpb_js_header_editor.currentValue; vc.frame_window.vc_iframe.loadCustomJsHeader( currentValue ); } if ( event.detail.wpb_js_footer_editor ) { var currentValue = event.detail.wpb_js_footer_editor.currentValue; vc.frame_window.vc_iframe.loadCustomJsFooter( currentValue ); } } }() );
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
editor-events.js
1000 bytes
0644
module.js
1083 bytes
0644
N4ST4R_ID | Naxtarrr