function views_ui_edit_details

Page callback to edit details of a view.

1 string reference to 'views_ui_edit_details'
views_ui_menu in ./views_ui.module

File

includes/admin.inc, line 2301

Code

function views_ui_edit_details($property, $js, $view) {
    views_include('ajax');
    $form_state = array(
        'view' => &$view,
        'ajax' => $js,
        'property' => $property,
    );
    $output = views_ajax_form_wrapper('views_ui_edit_details_form', $form_state);
    if ($js) {
        // If we don't have an output object, it was submitted. Set up the submission.
        if (empty($output)) {
            return views_ui_regenerate_tabs($view);
        }
        return views_ajax_render($output);
    }
    return $output;
}