Changeset 3117217
- Timestamp:
- 07/12/2024 05:41:05 PM (21 months ago)
- Location:
- comparison-slider/trunk
- Files:
-
- 4 edited
-
classes/html.php (modified) (2 diffs)
-
config.php (modified) (1 diff)
-
ics.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
comparison-slider/trunk/classes/html.php
r1806320 r3117217 678 678 // Run onChange to make pre-set of required data 679 679 '. ($onChange ? $onChange. '("'. $params['value']. '", null, "'. $buttonId. '");' : ''). ' 680 jQuery("#'. $buttonId. '").click(function(){ 680 jQuery("#'. $buttonId. '").click(function(e){ 681 e.preventDefault(); 681 682 var button = jQuery(this); 682 _custom_media = true;683 _custom_media = true; 683 684 wp.media.editor.send.attachment = function(props, attachment){ 685 wp.media.editor._attachSent = true; 684 686 if ( _custom_media ) { 685 687 var selectedUrl = attachment.url; … … 693 695 }; 694 696 }; 697 wp.media.editor.insert = function (html) { 698 if (_custom_media) { 699 if (wp.media.editor._attachSent) { 700 wp.media.editor._attachSent = false; 701 return; 702 } 703 if (html && html != "") { 704 var selectedUrl = $(html).attr("src"); 705 if (selectedUrl) { 706 jQuery("#'. $inputId. '").val( selectedUrl ).trigger("change"); 707 '. ($onChange ? $onChange. '(selectedUrl, attachment, "'. $buttonId. '");' : ''). ' 708 } 709 } 710 } 711 }; 695 712 wp.media.editor.open(button); 696 713 jQuery(".attachment-filters").val("'. $galleryType. '").trigger("change"); -
comparison-slider/trunk/config.php
r3038779 r3117217 49 49 50 50 define('ICS_PLUGIN_INSTALLED', true); 51 define('ICS_VERSION', '1.0. 5');51 define('ICS_VERSION', '1.0.6'); 52 52 define('ICS_USER', 'user'); 53 53 -
comparison-slider/trunk/ics.php
r3038779 r3117217 4 4 * Plugin URI: https://pareslider.com/ 5 5 * Description: Image Comparison Slider plugin allow user to view a comparison between two images. 6 * Version: 1.0. 56 * Version: 1.0.6 7 7 * Author: pareslider.com 8 8 * Author URI: https://pareslider.com -
comparison-slider/trunk/readme.txt
r3038779 r3117217 4 4 Tags: slider, image, comparison, comparison slider, comparison slider plugin, image comparison, image comparison slider, product table, product filter, currency switcher, woocommerce, 5 5 Tested up to: 6.4 6 Stable tag: 1.0. 56 Stable tag: 1.0.6 7 7 8 8 Image Comparison Slider plugin allow user to view a comparison between two images. Interactively compare two images visually with before-after compare slider … … 125 125 == Changelog == 126 126 127 = 1.0.6 / 12.07.2024 128 * Code optimization 129 127 130 = 1.0.5 / 19.02.2024 128 131 * Minor issues fix
Note: See TracChangeset
for help on using the changeset viewer.