GRAYBYTE WORDPRESS FILE MANAGER2183

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/swamivivekananda.co.in/wp-content/plugins/wp-optimize/js/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/swamivivekananda.co.in/wp-content/plugins/wp-optimize/js//modal.js
/*
How to use the modal

wp_optimize.modal.open({
	className: 'a-class', // A class name, added to the main modal container
	events: {}, // An object containing the events added to the modal. See Backbonejs View events syntax.
	content: function() {
		return ''; // the Content method returns html or jQuery objects which will be added to the content area of the modal
	},
	... // Other methods used by the custom events
})
*/

var wp_optimize = window.wp_optimize || {};

(function($, wp) {
	'use strict';
	var modal = {};
	modal.views = {};

	/**
	 * Main modal View
	 */
	modal.views.modal = Backbone.View.extend({
		tagName: 'div',
		template: wp.template('wpo-modal'),
		/**
		 * Extend default values
		 */
		preinitialize: function() {
			this.events = _.extend(this.events || {}, {
				'click .wpo-modal--close': 'close'
			});
			this.className = this.className ? 'wpo-modal--container ' + this.className : 'wpo-modal--container ';
		},
		render: function() {
			this.$el.append(this.template());
			this.trigger('rendered');
		},
		initialize: function() {
			this.trigger('initialize');
			this.render();
			this.$content = this.$el.find('.wpo-modal--content');
			// Append the content area with the content provided by the child object
			if ('function' === typeof this.content) {
				this.$content.append(this.content());
			}
		},
		close: function() {
			$('body').removeClass('wpo-modal-is-opened');
			this.remove();
		}
	});

	/**
	 * Public method to create and open the modal
	 */
	modal.open = function(options) {
		var view_options = _.extend(options || {}, {});
		var modalView = modal.views.modal.extend(view_options);
		var m = new modalView();
		m.$el.appendTo('body');
		m.$('.wpo-modal').focus();
		$('body').addClass('wpo-modal-is-opened');
		return m;
	}

	wp_optimize.modal = modal;
})(jQuery, window.wp);

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:27
giriqfky / giriqfky
0755
handlebars
--
July 10 2025 04:32:28
giriqfky / giriqfky
0755
jszip
--
July 10 2025 04:32:28
giriqfky / giriqfky
0755
serialize-json
--
July 10 2025 04:32:28
giriqfky / giriqfky
0755
sortable
--
July 10 2025 04:32:28
giriqfky / giriqfky
0755
.htaccess
0.259 KB
July 10 2025 04:45:39
giriqfky / giriqfky
0644
blockUI-4-2-2.min.js
0.612 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
blockUI.js
1.222 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
cache-4-2-2.min.js
8.042 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
cache.js
15.248 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
delay-js-4-2-2.min.js
1.16 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
delay-js.js
5.39 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
heartbeat-4-2-2.min.js
2.781 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
heartbeat.js
7.522 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
loadAsync-4-2-2.min.js
0.297 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
loadAsync.js
0.654 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
loadCSS-4-2-2.min.js
0.799 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
loadCSS.js
3.046 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
minify-4-2-2.min.js
11.886 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
minify.js
20.751 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
modal-4-2-2.min.js
0.9 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
modal.js
1.794 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
queue-4-2-2.min.js
0.603 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
queue.js
3.317 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
radio.php
5.234 KB
July 10 2025 04:45:39
giriqfky / giriqfky
0644
send-command-4-2-2.min.js
2.579 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
send-command.js
5.878 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
status-4-2-2.min.js
3.524 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
status.js
6.813 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
wpo-images-view-4-2-2.min.js
7.334 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
wpo-images-view.js
15.58 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
wpoadmin-4-2-2.min.js
37.2 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
wpoadmin.js
75.491 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
wposmush-4-2-2.min.js
22.877 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
wposmush.js
45.442 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF