You are here

function ctools_ajax_command_restripe in Chaos Tool Suite (ctools) 6

Force a table to be restriped.

This is usually used after a table has been modified by a replace or append command.

Parameters

$selector: The CSS selector. This can be any selector jquery uses in $().

2 calls to ctools_ajax_command_restripe()
ctools_ajax_sample_tablenix in ctools_ajax_sample/ctools_ajax_sample.module
Nix a row from a table and restripe.
ctools_context_ajax_item_delete in includes/context-admin.inc
Ajax entry point to edit an item

File

includes/ajax.inc, line 400
Utilize the CTools AJAX responder.

Code

function ctools_ajax_command_restripe($selector) {
  return array(
    'command' => 'restripe',
    'selector' => $selector,
  );
}