X7ROOT File Manager
Current Path:
/home/notabjze/caribbeansee.com/wp-content/plugins/feedzy-rss-feeds/js
home
/
notabjze
/
caribbeansee.com
/
wp-content
/
plugins
/
feedzy-rss-feeds
/
js
/
ðŸ“
..
ðŸ“
ActionPopup
ðŸ“
FeedBack
ðŸ“
Onboarding
ðŸ“
build
📄
categories.js
(1.07 KB)
📄
feedzy-elementor-widget.js
(3.26 KB)
📄
feedzy-lazy.js
(1.56 KB)
📄
feedzy-rss-feeds-ui-mce.js
(3.17 KB)
📄
feedzy-setting.js
(2.74 KB)
📄
feedzy-setup-wizard.js
(9.67 KB)
📄
jquery.smartWizard.min.js
(15.69 KB)
📄
survey.js
(379 B)
📄
telemetry.js
(2.14 KB)
Editing: feedzy-setting.js
/** * Plugin Name: FEEDZY RSS Feeds * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/ * Author: Themeisle * * @package feedzy-rss-feeds */ /* global feedzy_setting */ /* jshint unused:false */ jQuery( function( $ ) { // Snackbar notice. var snackbarNotice = function() { $( '.fz-snackbar-notice' ).toggleClass( 'open', 1000 ); if ( $( '.fz-snackbar-notice' ).hasClass( 'open' ) ) { setTimeout( function() { snackbarNotice(); }, 3000 ); } }; // on upload button click $( 'body' ).on( 'click', '.feedzy-open-media', function( e ) { e.preventDefault(); var button = $( this ), wp_media_uploader = wp.media( { title: feedzy_setting.l10n.media_iframe_title, library : { type : 'image' }, button: { text: feedzy_setting.l10n.media_iframe_button }, multiple: false } ).on( 'select', function() { // it also has "open" and "close" events var attachment = wp_media_uploader.state().get( 'selection' ).first().toJSON(); var attachmentUrl = attachment.url; if ( attachment.sizes.thumbnail ) { attachmentUrl = attachment.sizes.thumbnail.url; } if ( $( '.feedzy-media-preview' ).length ) { $( '.feedzy-media-preview' ).find( 'img' ).attr( 'src', attachmentUrl ); } else { $( '<div class="fz-form-group feedzy-media-preview"><img src="' + attachmentUrl + '"></div>' ).insertBefore( button.parent() ); } button.parent().find( '.feedzy-remove-media' ).addClass( 'is-show' ); button.parent().find( 'input:hidden' ).val( attachment.id ).trigger( 'change' ); $( '.feedzy-open-media' ).html( feedzy_setting.l10n.action_btn_text_2 ); } ).open(); }); // on remove button click $( 'body' ).on( 'click', '.feedzy-remove-media', function( e ) { e.preventDefault(); var button = $( this ); button.parent().prev( '.feedzy-media-preview' ).remove(); button.removeClass( 'is-show' ); button.parent().find( 'input:hidden' ).val( '' ).trigger( 'change' ); $( '.feedzy-open-media' ).html( feedzy_setting.l10n.action_btn_text_1 ); }); // Unsaved form exit confirmation. var unsaved = false; $( ':input' ).change(function () { unsaved = true; }); $( '#feedzy-settings-submit, #check_wordai_api, #check_spinnerchief_api, #check_aws_api, #check_openai_api' ).on( 'click', function() { unsaved = false; } ); window.addEventListener( 'beforeunload', function( e ) { if ( unsaved ) { e.preventDefault(); e.returnValue = ''; } }); // Select cron execution time. $( document ).on( 'change', '#fz-event-execution', function() { $( '#fz-execution-offset' ).val( new Date().getTimezoneOffset() / 60 ); } ); snackbarNotice(); });
Upload File
Create Folder