Révision 13c3c9b4
Ajouté par Assos Assos il y a environ 9 ans
drupal7/sites/all/modules/views/includes/admin.inc | ||
---|---|---|
855 | 855 |
} |
856 | 856 |
|
857 | 857 |
$cancel = 'admin/structure/views/view/' . $view->name . '/edit'; |
858 |
if (!empty($_REQUEST['cancel'])) { |
|
859 |
$cancel = $_REQUEST['cancel']; |
|
860 |
} |
|
861 | 858 |
|
862 | 859 |
$account = user_load($view->locked->uid); |
863 | 860 |
return confirm_form($form, |
... | ... | |
2964 | 2961 |
else { |
2965 | 2962 |
$output = array(); |
2966 | 2963 |
$output[] = views_ajax_command_dismiss_form(); |
2967 |
$output[] = views_ajax_command_show_buttons(); |
|
2964 |
$output[] = views_ajax_command_show_buttons(!empty($view->changed));
|
|
2968 | 2965 |
$output[] = views_ajax_command_trigger_preview(); |
2969 | 2966 |
if (!empty($form_state['#page_title'])) { |
2970 | 2967 |
$output[] = views_ajax_command_replace_title($form_state['#page_title']); |
Formats disponibles : Unified diff
Weekly update of contrib modules