Bug fixes:

Added a missing comma.
Changed complete callback to create callback

Signed-off-by: Mark Malek <markmmalek@me.com>
master
Mark Malek 2011-05-07 03:33:04 -04:00
parent dc169731d1
commit 9fb59bbe81
1 changed files with 3 additions and 5 deletions

View File

@ -36,7 +36,7 @@
cloneHeadToFoot: false, // clone head and use as footer
cloneHeaderToFooter: false, // deprecated option
autoResize: false, // resize table if its parent wrapper changes size
complete: null // callback after plugin completes
create: null // callback after plugin completes
}
@ -58,7 +58,7 @@
if ( helpers._isTable($self) ) {
methods.setup.apply(this, Array.prototype.slice.call(arguments, 1));
$.isFunction(settings.complete) && settings.complete.call(this);
$.isFunction(settings.create) && settings.create.call(this);
} else {
$.error('Invalid table mark-up');
}
@ -221,7 +221,7 @@
*/
hide: function( arg1, arg2, arg3 ) {
var $self = $(this),
self = this
self = this,
$wrapper = $self.closest('.fht-table-wrapper');
// User provided show duration without a specific effect
@ -330,8 +330,6 @@
helpers._setupClone( $divFoot, tableProps.tfoot );
break;
default:
break;
}