User: frodo Branch: DRUPAL-6--1 Date: Sun, 23 Jan 2011 20:48:54 +0000 Modified files: /modules/editview/includes editview.views.inc /modules/editview/theme editview.theme.inc Log message: More work on saving and restoring #id in edit forms with AJAX. Global variable $editview_within_js has been removed. Instead of setting it when entering editview_js, it is now dynamically detected by checking $_POST['HTTP_X_REQUESTED_WITH'] for the value XMLHttpRequest. This helps handling the case where AJAX is introducted by some other module. I hope this will work with non-Apache webservers and non-Firefox browsers. Move the restoring of #id values from editview_js to editview_form_after_build, again to make it work with other AJAX handlers. Remove the code which disabled the drag-and-drop on tables. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/editview/includes/... http://cvs.drupal.org/diff.php?path=contributions/modules/editview/theme/edi...