H69UNtblNBNpha2dtB1Odn8qYp1Qk5NK2gi7yfceofo9N
/
home
/
ymswebso
/
public_html
/
ymswebnew
/
wp-admin
/
js
/
Nama File / Folder
Size
Action
widgets
--
NONE
application-passwords.js
6.244KB
Hapus
Edit
Rename
application-passwords.min.js
2.953KB
Hapus
Edit
Rename
auth-app.js
5.66KB
Hapus
Edit
Rename
auth-app.min.js
2.035KB
Hapus
Edit
Rename
code-editor.js
11.316KB
Hapus
Edit
Rename
code-editor.min.js
3.011KB
Hapus
Edit
Rename
color-picker.js
9.539KB
Hapus
Edit
Rename
color-picker.min.js
3.404KB
Hapus
Edit
Rename
comment.js
2.851KB
Hapus
Edit
Rename
comment.min.js
1.284KB
Hapus
Edit
Rename
common.js
61.15KB
Hapus
Edit
Rename
common.min.js
23.121KB
Hapus
Edit
Rename
custom-background.js
3.354KB
Hapus
Edit
Rename
custom-header.js
1.976KB
Hapus
Edit
Rename
customize-controls.js
287.36KB
Hapus
Edit
Rename
customize-controls.min.js
109.14KB
Hapus
Edit
Rename
customize-nav-menus.js
110.925KB
Hapus
Edit
Rename
customize-nav-menus.min.js
46.89KB
Hapus
Edit
Rename
customize-widgets.min.js
27.407KB
Hapus
Edit
Rename
dashboard.js
27.018KB
Hapus
Edit
Rename
dashboard.min.js
8.654KB
Hapus
Edit
Rename
edit-comments.min.js
15.125KB
Hapus
Edit
Rename
editor-expand.js
41.607KB
Hapus
Edit
Rename
editor-expand.min.js
13.136KB
Hapus
Edit
Rename
editor.min.js
12.76KB
Hapus
Edit
Rename
farbtastic.js
7.665KB
Hapus
Edit
Rename
gallery.js
5.413KB
Hapus
Edit
Rename
gallery.min.js
3.653KB
Hapus
Edit
Rename
image-edit.js
39.977KB
Hapus
Edit
Rename
image-edit.min.js
15.151KB
Hapus
Edit
Rename
inline-edit-tax.js
7.614KB
Hapus
Edit
Rename
iris.min.js
23.089KB
Hapus
Edit
Rename
language-chooser.js
0.869KB
Hapus
Edit
Rename
language-chooser.min.js
0.413KB
Hapus
Edit
Rename
link.js
3.894KB
Hapus
Edit
Rename
link.min.js
1.701KB
Hapus
Edit
Rename
media-gallery.js
1.272KB
Hapus
Edit
Rename
media-gallery.min.js
0.597KB
Hapus
Edit
Rename
media-upload.js
3.384KB
Hapus
Edit
Rename
nav-menu.js
60.443KB
Hapus
Edit
Rename
nav-menu.min.js
29.771KB
Hapus
Edit
Rename
password-strength-meter.min.js
1.097KB
Hapus
Edit
Rename
password-toggle.js
1.308KB
Hapus
Edit
Rename
password-toggle.min.js
0.827KB
Hapus
Edit
Rename
plugin-install.js
6.92KB
Hapus
Edit
Rename
plugin-install.min.js
2.347KB
Hapus
Edit
Rename
post.js
38.679KB
Hapus
Edit
Rename
post.min.js
18.403KB
Hapus
Edit
Rename
postbox.js
18.493KB
Hapus
Edit
Rename
postbox.min.js
6.603KB
Hapus
Edit
Rename
privacy-tools.js
10.667KB
Hapus
Edit
Rename
revisions.js
33.915KB
Hapus
Edit
Rename
revisions.min.js
17.97KB
Hapus
Edit
Rename
set-post-thumbnail.js
0.855KB
Hapus
Edit
Rename
site-health.js
13.149KB
Hapus
Edit
Rename
site-health.min.js
6.135KB
Hapus
Edit
Rename
svg-painter.js
3.203KB
Hapus
Edit
Rename
tags-box.js
10.879KB
Hapus
Edit
Rename
tags-box.min.js
3.005KB
Hapus
Edit
Rename
tags-suggest.js
5.636KB
Hapus
Edit
Rename
tags-suggest.min.js
2.216KB
Hapus
Edit
Rename
tags.js
4.851KB
Hapus
Edit
Rename
tags.min.js
2.042KB
Hapus
Edit
Rename
theme-plugin-editor.js
24.766KB
Hapus
Edit
Rename
theme-plugin-editor.min.js
11.435KB
Hapus
Edit
Rename
updates.min.js
47.272KB
Hapus
Edit
Rename
user-profile.js
14.995KB
Hapus
Edit
Rename
user-suggest.js
2.247KB
Hapus
Edit
Rename
widgets.js
22.557KB
Hapus
Edit
Rename
widgets.min.js
12.313KB
Hapus
Edit
Rename
word-count.js
7.516KB
Hapus
Edit
Rename
word-count.min.js
1.494KB
Hapus
Edit
Rename
xfn.js
0.723KB
Hapus
Edit
Rename
/** * 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);