Changeset 1359696
- Timestamp:
- 02/27/2016 04:23:06 PM (10 years ago)
- Location:
- acf-link-picker-field
- Files:
-
- 4 edited
- 17 copied
-
tags/1.2 (copied) (copied from acf-link-picker-field/trunk)
-
tags/1.2/acf-link_picker-v4.php (copied) (copied from acf-link-picker-field/trunk/acf-link_picker-v4.php)
-
tags/1.2/acf-link_picker-v5.php (copied) (copied from acf-link-picker-field/trunk/acf-link_picker-v5.php)
-
tags/1.2/acf-link_picker.php (copied) (copied from acf-link-picker-field/trunk/acf-link_picker.php) (1 diff)
-
tags/1.2/css (copied) (copied from acf-link-picker-field/trunk/css)
-
tags/1.2/images (copied) (copied from acf-link-picker-field/trunk/images)
-
tags/1.2/js (copied) (copied from acf-link-picker-field/trunk/js)
-
tags/1.2/js/input.js (modified) (2 diffs)
-
tags/1.2/lang (copied) (copied from acf-link-picker-field/trunk/lang)
-
tags/1.2/lang/acf-link_picker-nl_NL.mo (copied) (copied from acf-link-picker-field/trunk/lang/acf-link_picker-nl_NL.mo)
-
tags/1.2/lang/acf-link_picker-nl_NL.po (copied) (copied from acf-link-picker-field/trunk/lang/acf-link_picker-nl_NL.po)
-
tags/1.2/lang/acf-link_picker-pt_PT.mo (copied) (copied from acf-link-picker-field/trunk/lang/acf-link_picker-pt_PT.mo)
-
tags/1.2/lang/acf-link_picker-pt_PT.po (copied) (copied from acf-link-picker-field/trunk/lang/acf-link_picker-pt_PT.po)
-
tags/1.2/readme.txt (copied) (copied from acf-link-picker-field/trunk/readme.txt) (1 diff)
-
tags/1.2/screenshot-1.jpg (copied) (copied from acf-link-picker-field/trunk/screenshot-1.jpg)
-
tags/1.2/screenshot-2.jpg (copied) (copied from acf-link-picker-field/trunk/screenshot-2.jpg)
-
tags/1.2/screenshot-3.jpg (copied) (copied from acf-link-picker-field/trunk/screenshot-3.jpg)
-
tags/1.2/screenshot-4.jpg (copied) (copied from acf-link-picker-field/trunk/screenshot-4.jpg)
-
trunk/acf-link_picker.php (modified) (1 diff)
-
trunk/js/input.js (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
acf-link-picker-field/tags/1.2/acf-link_picker.php
r1331231 r1359696 5 5 Plugin URI: https://github.com/ahebrank/ACF-Link-Picker-Field 6 6 Description: Adds an Advanced Custom Field field that allows the selection of a link utilising the WordPress link picker modal dialog 7 Version: 1. 1.27 Version: 1.2 8 8 Authors: Steve Marks (BIOSTALL), Andy Hebrank (caalami) 9 9 Author URI: http://biostall.com -
acf-link-picker-field/tags/1.2/js/input.js
r1248069 r1359696 37 37 wpLink.setDefaultValues = function () { 38 38 // set the current title and URL 39 var $text_inputs = $('#wp-link').find('input[type=text]'); 40 $($text_inputs[1]).val(current_title); 41 $($text_inputs[0]).val(current_url); 39 $('#wp-link-text').val(current_title); 40 $('#wp-link-url').val(current_url); 42 41 43 42 // target a blank page? 44 var $checkbox_inputs = $('#wp-link').find('input[type=checkbox]'); 45 $checkbox_inputs.first().prop('checked', (current_target === '_blank')); 43 $('#wp-link-target').prop('checked', (current_target === '_blank')); 46 44 }; 47 45 wpLink.open(thisID); // open the link popup … … 152 150 } 153 151 }); 152 153 // put the link title in the title box 154 $('body').on('click', '#search-panel .query-results li', function(event) 155 { 156 if (doingLink !== '') 157 { 158 $('#wp-link-text').val($(this).find('.item-title').text()); 159 } 160 }); 154 161 } 155 162 -
acf-link-picker-field/tags/1.2/readme.txt
r1331231 r1359696 58 58 == Changelog == 59 59 60 = 1.2 = 61 * Automatically update the link title when clicking on a link. This functionality differs from the WYSIWYG link picker (which assumes highlighted text) but should be consistent with expected behavior of an ACF field. 62 60 63 = 1.1.2 = 61 64 * Added NL translation support from [vjanssens](https://github.com/vjanssens) -
acf-link-picker-field/trunk/acf-link_picker.php
r1331231 r1359696 5 5 Plugin URI: https://github.com/ahebrank/ACF-Link-Picker-Field 6 6 Description: Adds an Advanced Custom Field field that allows the selection of a link utilising the WordPress link picker modal dialog 7 Version: 1. 1.27 Version: 1.2 8 8 Authors: Steve Marks (BIOSTALL), Andy Hebrank (caalami) 9 9 Author URI: http://biostall.com -
acf-link-picker-field/trunk/js/input.js
r1248069 r1359696 37 37 wpLink.setDefaultValues = function () { 38 38 // set the current title and URL 39 var $text_inputs = $('#wp-link').find('input[type=text]'); 40 $($text_inputs[1]).val(current_title); 41 $($text_inputs[0]).val(current_url); 39 $('#wp-link-text').val(current_title); 40 $('#wp-link-url').val(current_url); 42 41 43 42 // target a blank page? 44 var $checkbox_inputs = $('#wp-link').find('input[type=checkbox]'); 45 $checkbox_inputs.first().prop('checked', (current_target === '_blank')); 43 $('#wp-link-target').prop('checked', (current_target === '_blank')); 46 44 }; 47 45 wpLink.open(thisID); // open the link popup … … 152 150 } 153 151 }); 152 153 // put the link title in the title box 154 $('body').on('click', '#search-panel .query-results li', function(event) 155 { 156 if (doingLink !== '') 157 { 158 $('#wp-link-text').val($(this).find('.item-title').text()); 159 } 160 }); 154 161 } 155 162 -
acf-link-picker-field/trunk/readme.txt
r1331231 r1359696 58 58 == Changelog == 59 59 60 = 1.2 = 61 * Automatically update the link title when clicking on a link. This functionality differs from the WYSIWYG link picker (which assumes highlighted text) but should be consistent with expected behavior of an ACF field. 62 60 63 = 1.1.2 = 61 64 * Added NL translation support from [vjanssens](https://github.com/vjanssens)
Note: See TracChangeset
for help on using the changeset viewer.