From 8c08ea2561b6da5a97777312ebf60d295dbbdb1e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 30 Apr 2010 08:07:55 +0000 Subject: - Patch #645800 by katbailey, effulgentsia, rfay: ajax_deliver() ignores #ajax['method'] and incorrectly forces 'replaceWith' for simple AJAX callbacks, D6->D7 regression. --- modules/file/file.module | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/file') diff --git a/modules/file/file.module b/modules/file/file.module index b925d7c2e..44ef83c06 100644 --- a/modules/file/file.module +++ b/modules/file/file.module @@ -351,7 +351,6 @@ function file_managed_file_process($element, &$form_state, $form) { $ajax_settings = array( 'path' => 'file/ajax/' . implode('/', $element['#parents']) . '/' . $form['form_build_id']['#value'], 'wrapper' => $element['#id'] . '-ajax-wrapper', - 'method' => 'replace', 'effect' => 'fade', 'progress' => array( 'type' => $element['#progress_indicator'], -- cgit v1.2.3