I have found the problem :”D it was this part of the code
if ( mediaClientUploader ) {
mediaClientUploader.open();
return;
}
it stops my select event functionality after the first click so I just delete it and everything is fine
Related Posts:
- Redirect to another page using contact form 7? [closed]
- How do I only load a plugin js on it’s settings pages?
- how does wp.media javascript library work?
- AJAX Call Via Vanilla JavaScript In WordPress Plugin Development
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- How to Reload the Dashboard After Clicking Update in Quick-Edit?
- Ajax call doesn’t work in frontend but it’s working in backend (when I’m logged in)
- How can I add a custom meta value on file upload?
- Dequeue / Deregister script and replace it with a new plugin
- Insert code after tag without using functions.php?
- How do I use WordPress PHP functions in my Javascript code?
- Deleting images through upload folder, but not deleting from media library
- Passing select control value to block
- How to create popup same as wordpress popup feature
- Has anyone used require.js for handling plugin scripts?
- Passing RichText attributes to function onChange
- How do I store information in a dynamic block in WordPress?
- Admin page: form with enctype=”multipart/form-data” does not transfer its data
- Upload file inside plugins options page
- Adding Attachment Display Settings in custom media frame
- How to load plugin after page is loaded – pagespeed issues
- Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block
- React JSX in WordPress Plugin Development
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- Best approach to fetch data from wp options to js file or php file
- How to find the origin of a file upload from within wp_handle_upload?
- Updating the Drag-To-Share eXtended share URLs?
- Enqueue WordPress plugin scripts below all other JS
- How to add Internationalization in WordPress using Javascript/React?
- Add custom JavaScript that is a combination of CDN/uploaded files and easily-edited code?
- Plugin Not Working After Being Uploaded To WordPress Plugin Repository
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- Delay JavaScript files from loading
- Is it possible for a plugin to force reading and writing of uploaded images to a database instead of to a filesystem?
- adding a button to the media uploader
- custom uploader in the admin area
- How to generate an all in one WordPress New content, plugin and theme update report on a website? [closed]
- How to use custom Javascript code inside a plugin?
- How programatically cause uploads folder to be created?
- Issue with wp_handle_upload
- how to request a script more than once in wordpress
- How To Create A File Archive in WordPress?
- Set Button in PluginDocumentSettingPanel Content (WordPress Gutenberg)
- How to upload large media file in chunks, without any plugin?
- Fixed: Console.log twice in the edit function
- How to copy the all WordPress media items to another custom plugin folder?
- Cannot run script properly with my custom plugin
- Access remote SFTP server via WordPress login?
- Add style to body based on url
- How to properly enqueue jQuery knob on WordPress without conflict?
- what functions to use to resize images and create DB metadata for them after/during upload?
- Problem with wordpress has_action() function
- Multiple image selection custom widget
- 500 Internal server error wp_handle_upload_prefilter
- Create a form and have custom menu display based on user answers?
- AJAX update fails for public/non-admin users
- Uploading images to custom table
- WordPress ajax error 400 bad request for sending data to remote site [duplicate]
- How to use information from the database in the front-end?
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- How to pass value from WordPress to Javascript
- Media Upload to custom database and Custom Directory
- Javascript in plugin not working
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- How to create a dashboard for logged-in users with custom functionality? [closed]
- Creating a user ‘add custom field’ section
- Need to hide an element depending on date and post category
- Ajax, jQuery and WordPress
- Plugin – including external javascript calling google maps
- get_option include in my adsense
- Is it possible to run javascript on plugin deactivated?
- Ajax in Plugins: returns the whole page
- Load css classes after using ajax calls
- How to create post comparison in wordpress
- Upload Image to desired directory through plugin
- How to access values from your own settings page in javascript?
- wp_handle_upload – specified file failed upload test
- Vanilla javascript in custom gutenberg block not working
- How do I unlock a post programmatically?
- Is it possible to set up multistore in Woocommerce? [closed]
- W3 Total Cache: Load CSS asynchronously for better PageSpeed score? [closed]
- How to export post 2 posts WordPress plugin data [closed]
- Deactivate JS Script in Plugin Shortcode
- Basic question about accessing scripts in my plugin
- Add type to enqueued script inside plugin
- WordPress SVN UTF-8 issue
- Asynchronous request in wordpress
- change or add css to theme from plugin
- Displaying data from another database
- Every time I de-activate a custom plugin, the site encounters a critical error
- How to make sure settings are not lost when plugin is updated?
- How to override any plugin file in the child theme
- Define global variable in theme file and call that variable in plugin file
- Disqus comments count taking long to update
- plugin not hooking to my custom hook
- How to save default values into an option and delete those upon actvation and deactivation in wordpress?
- How to Add Jquery FullCalendar in wp plugin in admin
- Unable to show 4 products in a row
- WordPress check box unchecked on null value ternary operator [plugin development]
- How to make a Template page to show the information of different things Shop and Product page?