HEX
Server: LiteSpeed
System: Linux s1296.sgp1.mysecurecloudhost.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: bishwesh (1878)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/bishwesh/public_html/wp-content/plugins/file-manager/js/admin-script.js
function __(OBJ){console.log(OBJ);}
jQuery(document).ready(function(){
	
	jQuery('#root-directory-id').on('keyup', function(){
		
		console.log("working");
		
	});
	
});


/**
 * 
 * Form manager plugin for jQuery mobile
 * 
 * */
var JQ = jQuery.noConflict(); // Using JQ as jQuery for no conflict and shortcut
JQ.fn.fManager = function(data){
	
	data = JQ.parseJSON(data); // string to json conversion
	__(data.menu_options);
	
	// Working with menu options
	STR = '<ul>';
	
	JQ.each(data.menu_options, function(index, value){
		
		//~ __("Index: " + index + ", Value: " + value);
		STR += "<li>" + value + "</li>";
		
		
	});
	
	STR += '</ul>';
	
	JQ("#fmp_permission_wrapper_id").html(STR);
	
}