ACF qTranslate - Version 1.7.13

Version Description

  • Bug Fix: ACF5 Image selection fix
Download this release

Release Info

Developer funkjedi
Plugin Icon wp plugin ACF qTranslate
Version 1.7.13
Comparing to
See all releases

Code changes from version 1.7.12 to 1.7.13

Files changed (3) hide show
  1. acf-qtranslate.php +1 -1
  2. assets/acf_5/main.js +8 -9
  3. readme.txt +5 -2
acf-qtranslate.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Advanced Custom Fields: qTranslate
4
  Plugin URI: http://github.com/funkjedi/acf-qtranslate
5
  Description: Provides multilingual versions of the text, text area, and wysiwyg fields.
6
- Version: 1.7.12
7
  Author: funkjedi
8
  Author URI: http://funkjedi.com
9
  License: GPLv2 or later
3
  Plugin Name: Advanced Custom Fields: qTranslate
4
  Plugin URI: http://github.com/funkjedi/acf-qtranslate
5
  Description: Provides multilingual versions of the text, text area, and wysiwyg fields.
6
+ Version: 1.7.13
7
  Author: funkjedi
8
  Author URI: http://funkjedi.com
9
  License: GPLv2 or later
assets/acf_5/main.js CHANGED
@@ -6,8 +6,8 @@ acf.fields.qtranslate_image = acf.fields.image.extend({
6
  type: 'qtranslate_image',
7
  focus: function() {
8
  this.$el = this.$field.find('.acf-image-uploader.current-language');
9
- this.$input = this.$el.find('[data-name="id"]');
10
- this.$img = this.$el.find('[data-name="image"]');
11
 
12
  this.o = acf.get_data(this.$el);
13
  }
@@ -17,14 +17,13 @@ acf.fields.qtranslate_image = acf.fields.image.extend({
17
  * Clone functionality from standard File field type
18
  */
19
  acf.fields.qtranslate_file = acf.fields.file.extend({
20
- type: 'qtranslate_file',
21
- focus: function() {
22
- this.$el = this.$field.find('.acf-file-uploader.current-language');
23
- this.$input = this.$el.find('[data-name="id"]');
24
- this.$img = this.$el.find('[data-name="file"]');
25
 
26
- this.o = acf.get_data(this.$el);
27
- }
28
  });
29
 
30
  /**
6
  type: 'qtranslate_image',
7
  focus: function() {
8
  this.$el = this.$field.find('.acf-image-uploader.current-language');
9
+ this.$input = this.$el.find('input[type="hidden"]');
10
+ this.$img = this.$el.find('img');
11
 
12
  this.o = acf.get_data(this.$el);
13
  }
17
  * Clone functionality from standard File field type
18
  */
19
  acf.fields.qtranslate_file = acf.fields.file.extend({
20
+ type: 'qtranslate_file',
21
+ focus: function() {
22
+ this.$el = this.$field.find('.acf-file-uploader.current-language');
23
+ this.$input = this.$el.find('input[type="hidden"]');
 
24
 
25
+ this.o = acf.get_data(this.$el);
26
+ }
27
  });
28
 
29
  /**
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: funkjedi
3
  Tags: acf, advanced custom fields, qtranslate, add-on, admin
4
  Requires at least: 3.5.0
5
  Tested up to: 4.2.1
6
- Version: 1.7.12
7
- Stable tag: 1.7.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -59,6 +59,9 @@ The plugin is based on code samples posted to the ACF support forums by taeo bac
59
 
60
  == Changelog ==
61
 
 
 
 
62
  = 1.7.12 =
63
  * Bug Fix: Fixed ACF5 Image/File edit and delete buttons
64
 
3
  Tags: acf, advanced custom fields, qtranslate, add-on, admin
4
  Requires at least: 3.5.0
5
  Tested up to: 4.2.1
6
+ Version: 1.7.13
7
+ Stable tag: 1.7.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
59
 
60
  == Changelog ==
61
 
62
+ = 1.7.13 =
63
+ * Bug Fix: ACF5 Image selection fix
64
+
65
  = 1.7.12 =
66
  * Bug Fix: Fixed ACF5 Image/File edit and delete buttons
67