Changeset 1820292
- Timestamp:
- 02/12/2018 03:36:18 AM (8 years ago)
- Location:
- jtrt-responsive-tables/trunk
- Files:
-
- 7 edited
-
admin/js/vendor/jtrt-responsive-tables-class.js (modified) (3 diffs)
-
admin/partials/jtrt-adminClass-shortcode.php (modified) (2 diffs)
-
admin/partials/jtrt-custom-post-type.php (modified) (1 diff)
-
jtrt-responsive-tables.php (modified) (1 diff)
-
public/css/jtrt-responsive-tables-public.css (modified) (1 diff)
-
public/js/jtrt-responsive-tables-public.js (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jtrt-responsive-tables/trunk/admin/js/vendor/jtrt-responsive-tables-class.js
r1608416 r1820292 437 437 438 438 JTrtEditor.prototype.reRenderTable = function(){ 439 window.dispatchEvent(new Event('resize'));439 if (!window.MSInputMethodContext && !document.documentMode) window.dispatchEvent(new Event('resize')); 440 440 this.handsOnTab.colOffset(); 441 441 this.handsOnTab.rowOffset(); … … 446 446 JTrtEditor.prototype.handleOnSave = function(event){ 447 447 448 //event.preventDefault();448 event.preventDefault(); 449 449 450 450 var tableDataJT = JSON.stringify(Iam.handsOnTab.getData()), … … 529 529 530 530 Iam.dataBox.html("["+tableDataJT+","+JSON.stringify(tableCellDataNew)+"," +JSON.stringify(tableCellBorderData)+","+JSON.stringify(tableFuncResData)+"]"); 531 531 532 $(this).parents('form#post').submit(); 532 533 } // End of handleOnSave 533 534 -
jtrt-responsive-tables/trunk/admin/partials/jtrt-adminClass-shortcode.php
r1815411 r1820292 59 59 } 60 60 61 $html .= "<div class='jtTableContainer jtrespo-".$myTableResponsiveStyle." ".$myTableHoverRows." ".$myTableHoverCols."' ".($myTableResponsiveStyle == 'stack' ? "data-jtrt-stack-width='".$myTableStackPrefWidth."'" : "")." ".$myTableHoverRowsCol." ".$myTableHoverColsCol.">";61 $html .= "<div class='jtTableContainer jtrespo-".$myTableResponsiveStyle." ".$myTableHoverRows." ".$myTableHoverCols."' ".($myTableResponsiveStyle == 'stack' ? "data-jtrt-stack-width='".$myTableStackPrefWidth."'" : "").">"; 62 62 63 63 … … 163 163 wp_enqueue_script( 'jtbackendfrontend-js', plugin_dir_url( __FILE__ ) . '../../public/js/jtrt-responsive-tables-public.js', array( 'jquery' ), '4.0', false ); 164 164 165 $custom_css = ''; 166 167 if (isset($table_post_meta[0]['jtTableEnableColHighlight'])) { 168 $custom_css .= ".highlightCols #jtrt_table_" . $jtrt_settings['id'] . " tbody td.jtrt-col-hoveredOver { background:" . $table_post_meta[0]['jtTableEnableColHighlightcol'] . " !important; }"; 169 } 170 171 if (isset($table_post_meta[0]['jtTableEnableRowHighlight'])) { 172 $custom_css .= ".highlightRows #jtrt_table_" . $jtrt_settings['id'] . " tbody tr:hover td { background:" . $table_post_meta[0]['jtTableEnableRowHighlightcol'] . " !important; }"; 173 } 174 175 wp_add_inline_style( 'jtbackendfrontend-css', $custom_css ); 176 165 177 // Blast off! We've done our part here in the server, Javascript will handle the rest. 166 178 return $html; -
jtrt-responsive-tables/trunk/admin/partials/jtrt-custom-post-type.php
r1541631 r1820292 43 43 'has_archive' => false, 44 44 'exclude_from_search' => true, 45 'publicly_queryable' => true,45 'publicly_queryable' => false, 46 46 'capability_type' => 'page', 47 47 ); 48 48 49 register_post_type( 'jtrt_tables_post', $args ); 49 50 -
jtrt-responsive-tables/trunk/jtrt-responsive-tables.php
r1815411 r1820292 17 17 * Plugin URI: https://wordpress.org/plugins/jtrt-responsive-tables/ 18 18 * Description: The most advanced table editor for wordpress. 19 * Version: 4.1. 219 * Version: 4.1.3 20 20 * Author: John Tendik 21 21 * Author URI: https://github.com/mythirdeye/jtrt-tables -
jtrt-responsive-tables/trunk/public/css/jtrt-responsive-tables-public.css
r1815411 r1820292 51 51 } 52 52 53 .jtrespo-scroll{54 overflow-x: auto ;53 .jtrespo-scroll{ 54 overflow-x: auto !important; 55 55 } 56 56 57 57 .jtrespo-scroll table{ 58 58 table-layout: inherit; 59 }60 61 .jtrespo-scroll{62 overflow-x:scroll;63 59 } 64 60 -
jtrt-responsive-tables/trunk/public/js/jtrt-responsive-tables-public.js
r1815411 r1820292 159 159 }); 160 160 161 $('.highlightRows').on('mouseenter', 'tbody tr', function(){162 $(this).css('background',$('.highlightRows').attr('data-jtrt-rowhighligh-color'));163 });164 $('.highlightRows').on('mouseleave', 'tbody tr', function(){165 $(this).css('background','inherit');166 });167 168 169 161 $('.highlightCols').on('mouseenter', 'tbody td', function(){ 170 162 var eq = $(this).index() + 1; 171 $('.highlightCols tbody td:nth-child('+eq+')'). css('background',$('.highlightCols').attr('data-jtrt-colhighligh-color'));163 $('.highlightCols tbody td:nth-child('+eq+')').addClass('jtrt-col-hoveredOver'); 172 164 }); 173 165 $('.highlightCols').on('mouseleave', 'tbody td', function(){ 174 166 var eq = $(this).index() + 1; 175 $('.highlightCols tbody td:nth-child('+eq+')'). css('background','inherit');167 $('.highlightCols tbody td:nth-child('+eq+')').removeClass('jtrt-col-hoveredOver'); 176 168 }); 177 169 -
jtrt-responsive-tables/trunk/readme.txt
r1815411 r1820292 4 4 Tags: responsive tables, responsive, table, table generator, csv to table, csv, convert csv, responsive table generator, foo tables, responsive table, mobile tables, html table generator, html5 table 5 5 Requires at least: 4.0 6 Tested up to: 4.9. 27 Stable tag: 4.1. 26 Tested up to: 4.9.4 7 Stable tag: 4.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 15 15 = JTRT Responsive Tables = 16 16 17 JTRT Responsive Tables is a plugin designed to help average wordrpess users create amazing responsive tables for their websites without having to deal with HTML or CSS. It is now easier than ever to create tables!17 JTRT Responsive Tables is the most advanced HTML table editor for WordPress. Create amazing responsive tables without having to deal with HTML or CSS! 18 18 19 19 = Features = … … 106 106 == Changelog == 107 107 108 = 4.1.3 = 109 * Changed scroller option scroll bar to show only when needed 110 * Fixed hovers on tables, no longer should the original background disappear 111 * Fixed hover being done with JS, its now done through CSS as it should be 112 * Fixed IE11 save bug 113 * Removed preview post link as it was misleading 114 108 115 = 4.1.2 = 109 116 * Fixed sorting for scroller responsive option
Note: See TracChangeset
for help on using the changeset viewer.