Skip to content

Commit 6792036

Browse files
Merge pull request #405 from contactashish13/test-3.2.0
Test 3.2.0
2 parents c3b7ad4 + 32b5c00 commit 6792036

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

classes/Visualizer/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
class Visualizer_Plugin {
2929

3030
const NAME = 'visualizer';
31-
const VERSION = '3.1.3';
31+
const VERSION = '3.2.0';
3232

3333
// custom post types
3434
const CPT_VISUALIZER = 'visualizer';

classes/Visualizer/Render/Page/Data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class="visualizer-select">
184184
<span class="viz-section-title visualizer_source_json"><?php _e( 'Import from JSON/REST', 'visualizer' ); ?>
185185
<span class="dashicons dashicons-lock"></span></span>
186186
<div class="viz-section-items section-items">
187-
<p class="viz-group-description"><?php _e( 'You can choose here to import/synchronize your chart data with a remote JSON/REST source. For more info check <a href="" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
187+
<p class="viz-group-description"><?php _e( 'You can choose here to import/synchronize your chart data with a remote JSON/REST source. For more info check <a href="https://docs.themeisle.com/article/1052-how-to-generate-charts-from-json-data-rest-endpoints" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
188188
<form id="vz-import-json" action="<?php echo $upload_link; ?>" method="post" target="thehole" enctype="multipart/form-data">
189189
<div class="remote-file-section">
190190
<?php
@@ -390,7 +390,7 @@ class="dashicons dashicons-lock"></span></h2>
390390
<div>
391391
<p class="viz-group-description"><?php echo sprintf( __( 'You can manually edit the chart data using the %s editor.', 'visualizer' ), VISUALIZER_PRO ? 'spreadsheet like' : 'simple' ); ?></p>
392392
<?php if ( ! VISUALIZER_PRO ) { ?>
393-
<p class="viz-group-description"><input type="checkbox" id="simple-editor-type" value="textarea"><label for="simple-editor-type"><?php _e( 'Use text area editor instead', 'visualizer' ); ?></label></p>
393+
<p class="viz-group-description simple-editor-type"><input type="checkbox" id="simple-editor-type" value="textarea"><label for="simple-editor-type"><?php _e( 'Use text area editor instead', 'visualizer' ); ?></label></p>
394394
<?php } ?>
395395
<input type="button" id="editor-chart-button" class="button button-primary "
396396
value="<?php _e( 'View Editor', 'visualizer' ); ?>" data-current="chart"

css/media.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Version: 3.1.3
2+
Version: 3.2.0
33
*/
44
#visualizer-library-view {
55
padding: 30px 10px 10px 30px;

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: Visualizer: Tables and Charts Manager for WordPress
55
Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
66
Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
7-
Version: 3.1.3
7+
Version: 3.2.0
88
Author: Themeisle
99
Author URI: http://themeisle.com
1010
License: GPL v2.0 or later

js/simple-editor.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
button.val( button.attr( 'data-t-editor' ) );
2828
button.html( button.attr( 'data-t-editor' ) );
2929
button.attr( 'data-current', 'editor' );
30+
$('p.simple-editor-type').hide();
3031
$( '.viz-text-editor' ).css("z-index", "9999").show();
3132
$( '#canvas' ).css("z-index", "-100").hide();
3233
$('.viz-simple-editor').css("z-index", "9999").show();
@@ -35,6 +36,7 @@
3536
button.html( button.attr( 'data-t-chart' ) );
3637
button.attr( 'data-current', 'chart' );
3738
$( '.viz-text-editor' ).hide();
39+
$('p.simple-editor-type').show();
3840
$( '#canvas' ).css("z-index", "1").show();
3941
$('.viz-simple-editor').hide();
4042
}
@@ -70,6 +72,7 @@
7072
$( '.viz-table-editor' ).css("z-index", "9999").show();
7173
$('body').trigger('visualizer:db:editor:table:redraw', {});
7274
$( '#canvas' ).css("z-index", "-100").hide();
75+
$('p.simple-editor-type').hide();
7376
$('.viz-simple-editor').css("z-index", "9999").show();
7477
}else{
7578
button.val( button.attr( 'data-t-chart' ) );
@@ -78,6 +81,7 @@
7881
$( '.viz-table-editor' ).hide();
7982
$( '#canvas' ).css("z-index", "1").show();
8083
$('.viz-simple-editor').hide();
84+
$('p.simple-editor-type').show();
8185
}
8286
}
8387

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "visualizer",
3-
"version": "3.1.3",
3+
"version": "3.2.0",
44
"description": "Visualizer Lite",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)