Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
* Fixed issue that prevented prebuilt layouts from showing up.
Browse files Browse the repository at this point in the history
git-svn-id: https://plugins.svn.wordpress.org/siteorigin-panels/trunk@1086564 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information
gpriday committed Feb 10, 2015
1 parent 150c568 commit b2f07e0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions js/siteorigin-panels.js
Expand Up @@ -2754,7 +2754,7 @@ String.prototype.panelsProcessTemplate = function(){
return;
}

if( layouts.length ) {
if( _.size(layouts) ) {
for (var lid in layouts) {
// Exclude the current post if we have one
if (type !== 'prebuilt' && lid === $('#post_ID').val()) {
Expand All @@ -2774,7 +2774,6 @@ String.prototype.panelsProcessTemplate = function(){
$l.appendTo(c).data({'type': type, 'lid': lid});
}
}

},

/**
Expand Down
2 changes: 1 addition & 1 deletion js/siteorigin-panels.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions readme.txt
Expand Up @@ -91,6 +91,9 @@ I've tried to ensure that Page Builder is compatible with most plugin widgets. I

== Changelog ==

= 2.0.7 =
* Fixed issue that prevented prebuilt layouts from showing up.

= 2.0.6 =
* Added nonce to all admin requests.
* Fixed live editor for missing widgets.
Expand Down
4 changes: 2 additions & 2 deletions siteorigin-panels.php
Expand Up @@ -3,15 +3,15 @@
Plugin Name: Page Builder by SiteOrigin
Plugin URI: http://siteorigin.com/page-builder/
Description: A drag and drop, responsive page builder that simplifies building your website.
Version: 2.0.6
Version: 2.0.7
Author: SiteOrigin
Author URI: http://siteorigin.com
License: GPL3
License URI: http://www.gnu.org/licenses/gpl.html
Donate link: http://siteorigin.com/page-builder/#donate
*/

define('SITEORIGIN_PANELS_VERSION', '2.0.6');
define('SITEORIGIN_PANELS_VERSION', '2.0.7');
define('SITEORIGIN_PANELS_BASE_FILE', __FILE__);

require_once plugin_dir_path(__FILE__) . 'widgets/basic.php';
Expand Down

0 comments on commit b2f07e0

Please sign in to comment.