Projet

Général

Profil

Révision 13c3c9b4

Ajouté par Assos Assos il y a environ 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/includes/ajax.inc
169 169
/**
170 170
 * Shows Save and Cancel buttons.
171 171
 *
172
 * @param bool $changed
173
 *   Whether of not the view has changed.
174
 *
172 175
 * @return
173 176
 *   An array suitable for use with the ajax_render() function.
174 177
 */
175
function views_ajax_command_show_buttons() {
178
function views_ajax_command_show_buttons($changed) {
176 179
  $command = array(
177 180
    'command' => 'viewsShowButtons',
181
    'changed' => (bool) $changed,
178 182
  );
179 183
  return $command;
180 184
}

Formats disponibles : Unified diff