Version Description
Download this release
Release Info
Developer | techjewel |
Plugin | Ninja Tables – WP Data Table Plugin for WordPress |
Version | 2.0.6 |
Comparing to | |
See all releases |
Code changes from version 2.0.5 to 2.0.6
- assets/js/ninja-tables-footable.js +1 -1
- includes/libs/TableDrivers/NinjaFooTable.php +1 -1
- ninja-tables.php +2 -2
- readme.txt +1 -1
assets/js/ninja-tables-footable.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=406)}({406:function(e,t,n){e.exports=n(407)},407:function(e,t){jQuery(document).ready(function(e){({initTables:function(){var t=e("table.foo-table.ninja_footable"),n=this;e.each(t,function(t,i){var a=e(i),o=a.data("footable_id"),l=window
|
1 |
+
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=406)}({406:function(e,t,n){e.exports=n(407)},407:function(e,t){jQuery(document).ready(function(e){({initTables:function(){var t=e("table.foo-table.ninja_footable"),n=this;e.each(t,function(t,i){var a=e(i),o=a.data("footable_id"),l=window["ninja_footables_tables_"+o];"legacy_table"!==l.render_type?n.initResponsiveTable(a,l):n.initLegacyTable(a,l)})},initResponsiveTable:function(t,n){var i={cascade:!0,columns:n.columns,rows:e.get(window.ninja_footables.ajax_url+"?action=wp_ajax_ninja_tables_public_action&table_id="+n.table_id+"&target_action=get-all-data&default_sorting="+n.settings.default_sorting)};i.sorting={enabled:!!n.settings.sorting};var a=!!n.settings.filtering;n.settings.defualt_filter&&(a=!0),i.filtering={enabled:a,delay:1,dropdownTitle:ninja_footables.i18n.search_in,placeholder:ninja_footables.i18n.search,connectors:!1,ignoreCase:!0},n.settings.defualt_filter&&(i.filtering.filters=[{name:"ninja_table_custom_filter",query:n.settings.defualt_filter,columns:[]}]),i.paging={enabled:!!n.settings.paging,position:"right",size:n.settings.paging,container:"#footable_parent_"+n.table_id+" .paging-ui-container"},i.empty=ninja_footables.i18n.empty_text,t.footable(i)},initLegacyTable:function(e,t){e.css("display","table");var n={columns:t.columns,cascade:!0};n.sorting={enabled:!!t.settings.sorting};var i=!!t.settings.filtering;t.settings.defualt_filter&&(i=!0),n.filtering={enabled:i,delay:1,dropdownTitle:ninja_footables.i18n.search_in,placeholder:ninja_footables.i18n.search,connectors:!1,ignoreCase:!0},t.settings.defualt_filter&&(n.filtering.filters=[{name:"ninja_table_custom_filter",query:t.settings.defualt_filter,columns:[]}]),n.paging={enabled:!!t.settings.paging,position:"right",size:t.settings.paging,container:"#footable_parent_"+t.table_id+" .paging-ui-container"},n.empty=ninja_footables.i18n.empty_text,e.on({"init.ft.table":function(e,n){jQuery("#footable_parent_"+t.table_id).removeClass("loading_ninja_table")}}).footable(n),e.find(".ninja_temp_cell").remove()}}).initTables()})}});
|
includes/libs/TableDrivers/NinjaFooTable.php
CHANGED
@@ -249,7 +249,7 @@ class NinjaFooTable {
|
|
249 |
add_action( 'wp_footer', function () use ( $vars, $table_id ) {
|
250 |
?>
|
251 |
<script type="text/javascript">
|
252 |
-
window.
|
253 |
</script>
|
254 |
<?php
|
255 |
}, 10000 );
|
249 |
add_action( 'wp_footer', function () use ( $vars, $table_id ) {
|
250 |
?>
|
251 |
<script type="text/javascript">
|
252 |
+
window.ninja_footables_tables_<?php echo $table_id;?> = <?php echo $vars ?>;
|
253 |
</script>
|
254 |
<?php
|
255 |
}, 10000 );
|
ninja-tables.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Ninja Tables
|
17 |
* Plugin URI: https://wpmanageninja.com/plugins/ninja-tables/
|
18 |
* Description: The Easiest & Fastest Responsive Table Plugin on WordPress. Multiple templates, drag-&-drop live table builder, multiple color scheme, and styles.
|
19 |
-
* Version: 2.0.
|
20 |
* Author: WPManageNinja
|
21 |
* Author URI: https://wpmanageninja.com/
|
22 |
* License: GPL-2.0+
|
@@ -33,7 +33,7 @@ if (!defined('WPINC')) {
|
|
33 |
define('NINJA_TABLES_DIR_URL', plugin_dir_url(__FILE__));
|
34 |
define('NINJA_TABLES_DIR_PATH', plugin_dir_path(__FILE__));
|
35 |
define('NINJA_TABLES_PUBLIC_DIR_URL', NINJA_TABLES_DIR_URL.'public/');
|
36 |
-
define('NINJA_TABLES_VERSION', '2.0.
|
37 |
|
38 |
/**
|
39 |
* The code that runs during plugin activation.
|
16 |
* Plugin Name: Ninja Tables
|
17 |
* Plugin URI: https://wpmanageninja.com/plugins/ninja-tables/
|
18 |
* Description: The Easiest & Fastest Responsive Table Plugin on WordPress. Multiple templates, drag-&-drop live table builder, multiple color scheme, and styles.
|
19 |
+
* Version: 2.0.6
|
20 |
* Author: WPManageNinja
|
21 |
* Author URI: https://wpmanageninja.com/
|
22 |
* License: GPL-2.0+
|
33 |
define('NINJA_TABLES_DIR_URL', plugin_dir_url(__FILE__));
|
34 |
define('NINJA_TABLES_DIR_PATH', plugin_dir_path(__FILE__));
|
35 |
define('NINJA_TABLES_PUBLIC_DIR_URL', NINJA_TABLES_DIR_URL.'public/');
|
36 |
+
define('NINJA_TABLES_VERSION', '2.0.6');
|
37 |
|
38 |
/**
|
39 |
* The code that runs during plugin activation.
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: WordPress tables Plugin, wp tables, data tables, datatables plugin, alter
|
|
5 |
Requires at least: 4.5
|
6 |
Requires PHP: 5.4 or greater
|
7 |
Tested up to: 4.9.5
|
8 |
-
Stable tag: 2.0.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
5 |
Requires at least: 4.5
|
6 |
Requires PHP: 5.4 or greater
|
7 |
Tested up to: 4.9.5
|
8 |
+
Stable tag: 2.0.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|