Skip to content
Merged

Release #1205

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
DOCKER_FILE: docker-compose.ci.yml
strategy:
fail-fast: false
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

phpunit:
name: PHPUnit
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
services:
mysql:
image: mysql:5.7
Expand Down
2 changes: 1 addition & 1 deletion classes/Visualizer/Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ private function _fetchSeriesFromEditableTable() {
foreach ( $headers as $header ) {
if ( ! empty( $types[ $header ] ) ) {
$this->_series[] = array(
'label' => $header,
'label' => esc_html( wp_strip_all_tags( $header ) ),
'type' => $types[ $header ],
);
}
Expand Down
2 changes: 1 addition & 1 deletion classes/Visualizer/Source/Csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private function _fetchSeries( &$handle ) {
$labels[ $i ] = $this->toUTF8( $labels[ $i ] );

$this->_series[] = array(
'label' => $labels[ $i ],
'label' => esc_html( wp_strip_all_tags( $labels[ $i ] ) ),
'type' => isset( $types[ $i ] ) ? $types[ $i ] : $default_type,
);
}
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions js/simple-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
$( '#canvas' ).css("z-index", "-100").hide();
}else{
$('#canvas').lock();
jQuery('.dataTables_scrollBody .sorting_disabled input').attr('disabled', true);
$('#table-editor-form').submit();

// showing the chart
Expand Down
Loading