Changeset 3036584 for codepeople-post-map
- Timestamp:
- 02/15/2024 10:38:15 PM (2 years ago)
- Location:
- codepeople-post-map
- Files:
-
- 79 added
- 6 edited
-
tags/1.1.3 (added)
-
tags/1.1.3/codepeople-post-map.php (added)
-
tags/1.1.3/feedback (added)
-
tags/1.1.3/feedback/cp-feedback.php (added)
-
tags/1.1.3/feedback/feedback.html (added)
-
tags/1.1.3/images (added)
-
tags/1.1.3/images/custom_post_type.jpg (added)
-
tags/1.1.3/images/icons (added)
-
tags/1.1.3/images/icons/animals.png (added)
-
tags/1.1.3/images/icons/apple.png (added)
-
tags/1.1.3/images/icons/audio.png (added)
-
tags/1.1.3/images/icons/bar.png (added)
-
tags/1.1.3/images/icons/beautifulview.png (added)
-
tags/1.1.3/images/icons/blue-pushpin.png (added)
-
tags/1.1.3/images/icons/bookstore.png (added)
-
tags/1.1.3/images/icons/bus.png (added)
-
tags/1.1.3/images/icons/castle-2.png (added)
-
tags/1.1.3/images/icons/chapel.png (added)
-
tags/1.1.3/images/icons/chicken.png (added)
-
tags/1.1.3/images/icons/cinema.png (added)
-
tags/1.1.3/images/icons/coffee.png (added)
-
tags/1.1.3/images/icons/cruiseship.png (added)
-
tags/1.1.3/images/icons/cycling.png (added)
-
tags/1.1.3/images/icons/deer.png (added)
-
tags/1.1.3/images/icons/dogpark.png (added)
-
tags/1.1.3/images/icons/dogs_leash.png (added)
-
tags/1.1.3/images/icons/family.png (added)
-
tags/1.1.3/images/icons/field.png (added)
-
tags/1.1.3/images/icons/flowers.png (added)
-
tags/1.1.3/images/icons/friends.png (added)
-
tags/1.1.3/images/icons/girlfriend.png (added)
-
tags/1.1.3/images/icons/hiking-tourism.png (added)
-
tags/1.1.3/images/icons/hiking.png (added)
-
tags/1.1.3/images/icons/home.png (added)
-
tags/1.1.3/images/icons/hotel_0star.png (added)
-
tags/1.1.3/images/icons/iceskating.png (added)
-
tags/1.1.3/images/icons/information.png (added)
-
tags/1.1.3/images/icons/jazzclub.png (added)
-
tags/1.1.3/images/icons/library.png (added)
-
tags/1.1.3/images/icons/love_date.png (added)
-
tags/1.1.3/images/icons/marker.png (added)
-
tags/1.1.3/images/icons/notvisited.png (added)
-
tags/1.1.3/images/icons/nursery.png (added)
-
tags/1.1.3/images/icons/olympicsite.png (added)
-
tags/1.1.3/images/icons/peace.png (added)
-
tags/1.1.3/images/icons/photo.png (added)
-
tags/1.1.3/images/icons/pin.png (added)
-
tags/1.1.3/images/icons/playground.png (added)
-
tags/1.1.3/images/icons/shoppingmall.png (added)
-
tags/1.1.3/images/icons/snowy.png (added)
-
tags/1.1.3/images/icons/sunny.png (added)
-
tags/1.1.3/images/icons/supermarket.png (added)
-
tags/1.1.3/images/icons/teahouse.png (added)
-
tags/1.1.3/images/icons/temple-2.png (added)
-
tags/1.1.3/images/icons/university.png (added)
-
tags/1.1.3/images/icons/watermill.png (added)
-
tags/1.1.3/images/icons/webcam.png (added)
-
tags/1.1.3/images/icons/yoga.png (added)
-
tags/1.1.3/images/icons/zoo.png (added)
-
tags/1.1.3/images/icons/zoom.png (added)
-
tags/1.1.3/images/miclogo-88x31.gif (added)
-
tags/1.1.3/images/multiple.jpg (added)
-
tags/1.1.3/images/routes.jpg (added)
-
tags/1.1.3/include (added)
-
tags/1.1.3/include/functions.php (added)
-
tags/1.1.3/js (added)
-
tags/1.1.3/js/cpm.admin.js (added)
-
tags/1.1.3/js/cpm.js (added)
-
tags/1.1.3/js/gutenberg.js (added)
-
tags/1.1.3/languages (added)
-
tags/1.1.3/languages/codepeople-post-map-es_ES.mo (added)
-
tags/1.1.3/languages/codepeople-post-map-es_ES.po (added)
-
tags/1.1.3/languages/codepeople-post-map-fr_FR.mo (added)
-
tags/1.1.3/languages/codepeople-post-map-fr_FR.po (added)
-
tags/1.1.3/readme.txt (added)
-
tags/1.1.3/styles (added)
-
tags/1.1.3/styles/cpm-admin-styles.css (added)
-
tags/1.1.3/styles/cpm-gutenberg.css (added)
-
tags/1.1.3/styles/cpm-styles.css (added)
-
trunk/codepeople-post-map.php (modified) (1 diff)
-
trunk/include/functions.php (modified) (1 diff)
-
trunk/js/cpm.admin.js (modified) (6 diffs)
-
trunk/js/cpm.js (modified) (1 diff)
-
trunk/js/gutenberg.js (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
codepeople-post-map/trunk/codepeople-post-map.php
r3007080 r3036584 3 3 Plugin Name: Google Maps CP 4 4 Text Domain: codepeople-post-map 5 Version: 1.1. 25 Version: 1.1.3 6 6 Author: CodePeople 7 7 Author URI: http://wordpress.dwbooster.com/content-tools/codepeople-post-map -
codepeople-post-map/trunk/include/functions.php
r2935383 r3036584 1068 1068 <script> 1069 1069 jQuery(function(){ 1070 jQuery('.cpm_thumbnail_admin'). mouseover(function(){jQuery(this).width(300).height(300);}).mouseout(function(){jQuery(this).width(100).height(100);});1070 jQuery('.cpm_thumbnail_admin').on('mouseover',function(){jQuery(this).width(300).height(300);}).on('mouseout',function(){jQuery(this).width(100).height(100);}); 1071 1071 }); 1072 1072 </script> -
codepeople-post-map/trunk/js/cpm.admin.js
r2704259 r3036584 55 55 function transform( v ) 56 56 { 57 if( $.isNumeric( v ) ) return v;57 if( !isNaN( parseFloat( v ) ) && isFinite( v ) ) return v; 58 58 v = v.replace(/[\W_]/g, " " ).replace(/\s+/g, ' ' ).replace( /^\s+/, '' ).replace( /\s+$/, '' ).toLowerCase(); 59 59 var ref = ( /[ne]/.test( v ) ) ? 1 : -1, … … 93 93 if(status && status == "OK"){ 94 94 // Update fields 95 var address = ( $.trim( a).length && typeof r[ 'location' ] != 'undefined' ) ? a : result[0]['formatted_address'],95 var address = ( String( a ).trim().length && typeof r[ 'location' ] != 'undefined' ) ? a : result[0]['formatted_address'], 96 96 latitude = result[0]['geometry']['location'].lat(), 97 97 longitude = result[0]['geometry']['location'].lng(); … … 202 202 $(function(){ 203 203 // Actions for icons 204 $(".cpm_icon"). click(function(){204 $(".cpm_icon").on('click',function(){ 205 205 var i = $(this); 206 206 $('.cpm_icon.cpm_selected').removeClass('cpm_selected'); 207 207 i.addClass('cpm_selected'); 208 208 $('#default_icon').val($('img', i).attr('src')); 209 }). mouseover(function(){209 }).on('mouseover',function(){ 210 210 $(this).css({"border":"solid #BBBBBB 1px"}) 211 }). mouseout(function(){211 }).on('mouseout',function(){ 212 212 $(this).css({"border":"solid #F9F9F9 1px"}) 213 213 }); … … 219 219 220 220 // Action for insert shortcode 221 $('#cpm_map_shortcode'). click(function(){221 $('#cpm_map_shortcode').on('click',function(){ 222 222 if(window.cpm_send_to_editor_default) 223 223 window.send_to_editor = window.cpm_send_to_editor_default; … … 248 248 var f = $(this); 249 249 enable_disable_fields(f, !f[0].checked); 250 f. click(function(){250 f.on('click',function(){ 251 251 enable_disable_fields(f,!f[0].checked); 252 252 }); … … 254 254 255 255 // Show/hide map settings on single pages. 256 $('#cpm_map_single'). change(function(){256 $('#cpm_map_single').on('change',function(){ 257 257 $('.cpm-map-settings')[this.checked ? 'show' : 'hide'](); 258 258 }); -
codepeople-post-map/trunk/js/cpm.js
r3007080 r3036584 343 343 // Insert a icon to display map 344 344 var map_icon = $('<div class="cpm-mapicon"></div>'); 345 map_icon. click(function(){345 map_icon.on('click',function(){ 346 346 if(map_container.is( ':visible' )) 347 347 { -
codepeople-post-map/trunk/js/gutenberg.js
r2701329 r3036584 85 85 { 86 86 var save_draft = jQuery('.editor-post-save-draft'); 87 if(save_draft.length) save_draft. click();87 if(save_draft.length) save_draft.trigger('click'); 88 88 else 89 89 { 90 90 var update_btn = jQuery('.editor-post-publish-button'); 91 if(update_btn.length) update_btn. click();91 if(update_btn.length) update_btn.trigger('click'); 92 92 else 93 93 { -
codepeople-post-map/trunk/readme.txt
r3007080 r3036584 638 638 == Changelog == 639 639 640 = 1.1.3 = 641 642 * Removes deprecated JS code. 643 640 644 = 1.1.2 = 641 645
Note: See TracChangeset
for help on using the changeset viewer.