Collapse-O-Matic - Version 1.6.13

Version Description

  • added map resize support for google maps builder
Download this release

Release Info

Developer baden03
Plugin Icon 128x128 Collapse-O-Matic
Version 1.6.13
Comparing to
See all releases

Code changes from version 1.6.12 to 1.6.13

Files changed (3) hide show
  1. collapse-o-matic.php +3 -3
  2. js/collapse.js +9 -1
  3. readme.txt +6 -3
collapse-o-matic.php CHANGED
@@ -5,7 +5,7 @@ Text Domain: colomat
5
  Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
7
  Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
8
- Version: 1.6.12
9
  Author: twinpictures, baden03
10
  Author URI: http://twinpictures.de/
11
  License: GPL2
@@ -30,7 +30,7 @@ class WP_Collapse_O_Matic {
30
  * Current version
31
  * @var string
32
  */
33
- var $version = '1.6.12';
34
 
35
  /**
36
  * Used as prefix for options entry
@@ -130,7 +130,7 @@ class WP_Collapse_O_Matic {
130
  if($this->options['script_location'] == 'footer' ){
131
  $load_in_footer = true;
132
  }
133
- wp_register_script('collapseomatic-js', plugins_url('js/collapse.js', __FILE__), array('jquery'), '1.5.16', $load_in_footer);
134
  if( empty($this->options['script_check']) ){
135
  wp_enqueue_script('collapseomatic-js');
136
  }
5
  Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
7
  Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
8
+ Version: 1.6.13
9
  Author: twinpictures, baden03
10
  Author URI: http://twinpictures.de/
11
  License: GPL2
30
  * Current version
31
  * @var string
32
  */
33
+ var $version = '1.6.13';
34
 
35
  /**
36
  * Used as prefix for options entry
130
  if($this->options['script_location'] == 'footer' ){
131
  $load_in_footer = true;
132
  }
133
+ wp_register_script('collapseomatic-js', plugins_url('js/collapse.js', __FILE__), array('jquery'), '1.5.17', $load_in_footer);
134
  if( empty($this->options['script_check']) ){
135
  wp_enqueue_script('collapseomatic-js');
136
  }
js/collapse.js CHANGED
@@ -1,5 +1,5 @@
1
  /*!
2
- * Collapse-O-Matic JavaSctipt v1.5.16
3
  * http://plugins.twinpictures.de/plugins/collapse-o-matic/
4
  *
5
  * Copyright 2015, Twinpictures
@@ -107,6 +107,14 @@ function toggleState (obj, id, maptastic, trig_id) {
107
  }
108
  });
109
  }
 
 
 
 
 
 
 
 
110
  }
111
 
112
  function closeOtherGroups(rel){
1
  /*!
2
+ * Collapse-O-Matic JavaSctipt v1.5.17
3
  * http://plugins.twinpictures.de/plugins/collapse-o-matic/
4
  *
5
  * Copyright 2015, Twinpictures
107
  }
108
  });
109
  }
110
+
111
+ //deal with google maps builder resize
112
+ if(jQuery('#'+id).hasClass('colomat-close')){
113
+ jQuery('.google-maps-builder').each(function(index) {
114
+ map = jQuery(".google-maps-builder")[index];
115
+ google.maps.event.trigger(map, 'resize');
116
+ });
117
+ }
118
  }
119
 
120
  function closeOtherGroups(rel){
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: twinpictures, baden03
4
  Donate link: http://plugins.twinpictures.de/plugins/collapse-o-matic/
5
  Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
6
  Requires at least: 3.9
7
- Tested up to: 4.2.2
8
- Stable tag: 1.6.12
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -50,6 +50,9 @@ No. Not even close.
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 1.6.12 =
54
  * removed css that changed the display to block on focus
55
 
@@ -299,4 +302,4 @@ Fixed auto-expand of urls with id-anchors
299
 
300
  == Upgrade Notice ==
301
 
302
- * removed css that changed the display to block on focus causing span triggers to jump down to the next line.
4
  Donate link: http://plugins.twinpictures.de/plugins/collapse-o-matic/
5
  Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
6
  Requires at least: 3.9
7
+ Tested up to: 4.3
8
+ Stable tag: 1.6.13
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
50
 
51
  == Changelog ==
52
 
53
+ = 1.6.13 =
54
+ * added map resize support for google maps builder
55
+
56
  = 1.6.12 =
57
  * removed css that changed the display to block on focus
58
 
302
 
303
  == Upgrade Notice ==
304
 
305
+ * supports google maps builder resize function on expand