function views_ajax_command_show_buttons

Shows Save and Cancel buttons.

Parameters

bool $changed: Whether of not the view has changed.

Return value

array An array suitable for use with the ajax_render() function.

Related topics

1 call to views_ajax_command_show_buttons()
views_ui_ajax_form in includes/admin.inc
Generic entry point to handle forms.

File

includes/ajax.inc, line 189

Code

function views_ajax_command_show_buttons($changed) {
    $command = array(
        'command' => 'viewsShowButtons',
        'changed' => (bool) $changed,
    );
    return $command;
}