/var/www/vhosts/ihelp.ro/ajutam.ro/wp-admin/js
NameSizeModeActions
widgets/-0755rm
accordion.js29330644editdlrm
accordion.min.js7580644editdlrm
application-passwords.js63940644editdlrm
application-passwords.min.js30240644editdlrm
auth-app.js57960644editdlrm
auth-app.min.js20840644editdlrm
code-editor.js115880644editdlrm
code-editor.min.js30830644editdlrm
color-picker.js97680644editdlrm
color-picker.min.js34860644editdlrm
comment.js29190644editdlrm
comment.min.js13150644editdlrm
common.js626180644editdlrm
common.min.js236760644editdlrm
custom-background.js34350644editdlrm
custom-background.min.js12060644editdlrm
custom-header.js20230644editdlrm
customize-controls.js2953350644editdlrm
customize-controls.min.js1123220644editdlrm
customize-nav-menus.js1141350644editdlrm
customize-nav-menus.min.js482720644editdlrm
customize-widgets.js717270644editdlrm
customize-widgets.min.js280650644editdlrm
dashboard.js276660644editdlrm
dashboard.min.js88620644editdlrm
edit-comments.js380060644editdlrm
edit-comments.min.js154880644editdlrm
editor-expand.js426060644editdlrm
editor-expand.min.js134510644editdlrm
editor.js450550644editdlrm
editor.min.js130850644editdlrm
farbtastic.js78490644editdlrm
gallery.js55430644editdlrm
gallery.min.js37410644editdlrm
image-edit.js409360644editdlrm
image-edit.min.js155150644editdlrm
inline-edit-post.js206450644editdlrm
inline-edit-post.min.js96160644editdlrm
inline-edit-tax.js77970644editdlrm
inline-edit-tax.min.js29970644editdlrm
iris.min.js236430644editdlrm
language-chooser.js8900644editdlrm
language-chooser.min.js4230644editdlrm
link.js39870644editdlrm
link.min.js17420644editdlrm
media-gallery.js13030644editdlrm
media-gallery.min.js6110644editdlrm
media-upload.js34650644editdlrm
media-upload.min.js11520644editdlrm
media.js67650644editdlrm
media.min.js24390644editdlrm
nav-menu.js626170644editdlrm
nav-menu.min.js307850644editdlrm
password-strength-meter.js42360644editdlrm
password-strength-meter.min.js11230644editdlrm
password-toggle.js13390644editdlrm
password-toggle.min.js8470644editdlrm
plugin-install.js70860644editdlrm
plugin-install.min.js24030644editdlrm
post.js396070644editdlrm
post.min.js188450644editdlrm
postbox.js189370644editdlrm
postbox.min.js67610644editdlrm
privacy-tools.js109230644editdlrm
privacy-tools.min.js51540644editdlrm
revisions.js347290644editdlrm
revisions.min.js184010644editdlrm
set-post-thumbnail.js8760644editdlrm
set-post-thumbnail.min.js6200644editdlrm
site-health.js134650644editdlrm
site-health.min.js62820644editdlrm
site-icon.js62430644editdlrm
site-icon.min.js22540644editdlrm
svg-painter.js32800644editdlrm
svg-painter.min.js15670644editdlrm
tags-box.js111400644editdlrm
tags-box.min.js30770644editdlrm
tags-suggest.js57710644editdlrm
tags-suggest.min.js22690644editdlrm
tags.js60980644editdlrm
tags.min.js24670644editdlrm
theme-plugin-editor.js253600644editdlrm
theme-plugin-editor.min.js117090644editdlrm
theme.js562630644editdlrm
theme.min.js271420644editdlrm
updates.js1119990644editdlrm
updates.min.js484430644editdlrm
user-profile.js183430644editdlrm
user-profile.min.js79970644editdlrm
user-suggest.js23010644editdlrm
user-suggest.min.js6760644editdlrm
widgets.js230980644editdlrm
widgets.min.js126090644editdlrm
word-count.js76960644editdlrm
word-count.min.js15300644editdlrm
xfn.js7400644editdlrm
xfn.min.js4580644editdlrm
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-admin/js/media-upload.js (3465B)
/** * Contains global functions for the media upload within the post edit screen. * * Updates the ThickBox anchor href and the ThickBox's own properties in order * to set the size and position on every resize event. Also adds a function to * send HTML or text to the currently active editor. * * @file * @since 2.5.0 * @output wp-admin/js/media-upload.js * * @requires jQuery */ /* global tinymce, QTags, wpActiveEditor, tb_position */ /** * Sends the HTML passed in the parameters to TinyMCE. * * @since 2.5.0 * * @global * * @param {string} html The HTML to be sent to the editor. * @return {void|boolean} Returns false when both TinyMCE and QTags instances * are unavailable. This means that the HTML was not * sent to the editor. */ window.send_to_editor = function( html ) { var editor, hasTinymce = typeof tinymce !== 'undefined', hasQuicktags = typeof QTags !== 'undefined'; // If no active editor is set, try to set it. if ( ! wpActiveEditor ) { if ( hasTinymce && tinymce.activeEditor ) { editor = tinymce.activeEditor; window.wpActiveEditor = editor.id; } else if ( ! hasQuicktags ) { return false; } } else if ( hasTinymce ) { editor = tinymce.get( wpActiveEditor ); } // If the editor is set and not hidden, // insert the HTML into the content of the editor. if ( editor && ! editor.isHidden() ) { editor.execCommand( 'mceInsertContent', false, html ); } else if ( hasQuicktags ) { // If quick tags are available, insert the HTML into its content. QTags.insertContent( html ); } else { // If neither the TinyMCE editor and the quick tags are available, // add the HTML to the current active editor. document.getElementById( wpActiveEditor ).value += html; } // If the old thickbox remove function exists, call it. if ( window.tb_remove ) { try { window.tb_remove(); } catch( e ) {} } }; (function($) { /** * Recalculates and applies the new ThickBox position based on the current * window size. * * @since 2.6.0 * * @global * * @return {Object[]} Array containing jQuery objects for all the found * ThickBox anchors. */ window.tb_position = function() { var tbWindow = $('#TB_window'), width = $(window).width(), H = $(window).height(), W = ( 833 < width ) ? 833 : width, adminbar_height = 0; if ( $('#wpadminbar').length ) { adminbar_height = parseInt( $('#wpadminbar').css('height'), 10 ); } if ( tbWindow.length ) { tbWindow.width( W - 50 ).height( H - 45 - adminbar_height ); $('#TB_iframeContent').width( W - 50 ).height( H - 75 - adminbar_height ); tbWindow.css({'margin-left': '-' + parseInt( ( ( W - 50 ) / 2 ), 10 ) + 'px'}); if ( typeof document.body.style.maxWidth !== 'undefined' ) tbWindow.css({'top': 20 + adminbar_height + 'px', 'margin-top': '0'}); } /** * Recalculates the new height and width for all links with a ThickBox class. * * @since 2.6.0 */ return $('a.thickbox').each( function() { var href = $(this).attr('href'); if ( ! href ) return; href = href.replace(/&width=[0-9]+/g, ''); href = href.replace(/&height=[0-9]+/g, ''); $(this).attr( 'href', href + '&width=' + ( W - 80 ) + '&height=' + ( H - 85 - adminbar_height ) ); }); }; // Add handler to recalculates the ThickBox position when the window is resized. $(window).on( 'resize', function(){ tb_position(); }); })(jQuery);