mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Print: change jQuery requirement to v1.2+
This commit is contained in:
parent
9b4ce42286
commit
65c9fa40c2
@ -119,7 +119,7 @@
|
||||
In <span class="version">v2.17.0</span>, added the <code>print_callback</code> option.<br>
|
||||
<br>
|
||||
</li>
|
||||
<li>This widget will <strong>only work</strong> in tablesorter version 2.8+ and jQuery version 1.7+.</li>
|
||||
<li>This widget will <strong>only work</strong> in tablesorter version 2.8+ and jQuery version <del>1.7+</del> 1.2.6+ (<span class="version updated">v2.17.2</span>; but filter & columnSelector widgets still require jQuery 1.7+).</li>
|
||||
<li>The user can print all, visible or filtered rows. And, choose to print all or selected columns (using the columnSelector widget).</li>
|
||||
<li>By default, the widget is set to only print filtered rows & visible columns.</li>
|
||||
</ul>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Print widget (beta) for TableSorter 5/22/2014 (v2.17.0)
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
/* Print widget (beta) for TableSorter 6/11/2014 (v2.17.2)
|
||||
* Requires tablesorter v2.8+ and jQuery 1.2.6+
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
/*global jQuery: false */
|
||||
@ -15,8 +15,8 @@ printTable = ts.printTable = {
|
||||
|
||||
init : function(c) {
|
||||
c.$table
|
||||
.off(printTable.event)
|
||||
.on(printTable.event, function(){
|
||||
.unbind(printTable.event)
|
||||
.bind(printTable.event, function(){
|
||||
// explicitly use table.config.widgetOptions because we want
|
||||
// the most up-to-date values; not the "wo" from initialization
|
||||
printTable.process(c, c.widgetOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user