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
- TinyMCE – Unable to load the editor in vue front-end plugin page
- Custom uploader – Upload files and save link into database
- can not serialize and insert data from custom form
- media_sideload_image only works on localhost and without return id or src
- Remove / overwrite some functions in buddypress.js
- wordpress add_action() issue in ajax call
- How can I modify admin bar only if my plugin is loaded
- How do I add some javascript validation to the admin interface form’s onsubmit?
- remove all submenus from plugin
- Plugin function inside custom plugin
- First plugin, problem with get_pages
- Localizing methods for jQuery append prepend wrap parent
- wp-load.php redeclares classes
- plugins_url() works everywhere but wp_reqister_script()
- How to change the wp_upload_dir() path in plugin
- Hook into the rendering of a WordPress Template
- How to make custom plugin run on demand?
- creating a plug in that would tap into save/update action of posts [closed]
- Default taxonomy template in plugin, override in theme
- Can plugin2 uninstall plugin1 at the very beginning of plugin2’s installation?
- Use wp_upload_dir() correctly
- Measure and limit file uploads