? 258314_8_pathauto_doxygen_batch_2.patch
? 261060_3_editing_profile_kills_blog_alias.patch
? 262464_1_pathauto_path_textbox_checkbox_should_persist.patch
? i18n-ascii.txt
? pathauto_5.x.2-2_customProfile.patch
? pathauto_doxygen_cleanup_batch_2.patch
? pathauto_menu.patch
? pathauto_termalias2.patch
Index: pathauto.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.module,v
retrieving revision 1.110
diff -u -p -r1.110 pathauto.module
--- pathauto.module	20 May 2008 18:09:08 -0000	1.110
+++ pathauto.module	25 May 2008 16:06:47 -0000
@@ -282,10 +282,17 @@ function pathauto_form_alter(&$form, $fo
       drupal_add_js(drupal_get_path('module', 'pathauto') .'/pathauto.js');
       $form['path']['#collapsed'] = FALSE;
 
+      // If we're on a preview, honor the checkbox value that they set.
+      if(isset($form['#node']->pathauto_perform_alias)) {
+        $perform_alias = $form['#node']->pathauto_perform_alias;
+      }
+      else {
+        $perform_alias = TRUE;
+      }
       $form['path']['pathauto_perform_alias'] = array(
         '#type' => 'checkbox',
         '#title' => t('Automatic alias'),
-        '#default_value' => TRUE,
+        '#default_value' => $perform_alias,
         '#description' => $output,
         '#weight' => 0
       );
