User: frodo Branch: DRUPAL-6--1 Date: Sun, 07 Nov 2010 19:38:43 +0000 Modified files: /modules/editview/includes editview.views.inc /modules/editview/theme editview.js Log message: Update Javascript handling, making it more robust and eliminating old cruft This will solve problems in the case some module adds another submit button to a form (for example the CCK "Add More" button); editview used to bind AJAX functions to them too, which it was never meant to do. * Editview submit buttons (both the Save and Delete buttons) are now marked with class "editview-button"; * Only bind the AJAX submit function to buttons with class editview-button; * Explicitely use a variable 'form' instead of 'this', as we will be using it in other contexts too; * Old references in the Javascript code to editview_delete_form are removed, as there is nothing generated with that name. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/editview/includes/... http://cvs.drupal.org/diff.php?path=contributions/modules/editview/theme/edi...