Had some trouble using the preview function for messages it messed up my layout. I tracked it down to a ending tag for a div around line 1544. So I think that the ending tag there should be removed


      $form['preview'] = array(
        '#prefix' => '<div class="preview">',
        '#value' => theme('privatemsg_view', $message, TRUE),
        '#suffix' => '</div>'); // Remove this
      drupal_set_title(t('Preview message'));

Comments

strangeways’s picture

I can confirm this issue (was just about to report it myself) -- it's on line 1504 of the 5.x-3.0 release.

andypost’s picture

Version: 5.x-3.0 » 5.x-3.x-dev

in dev version line 1541

Vuds’s picture

I think both is with problems, 1504 is related with new message (which I had problems) and 1541 with preview. Commented them and the layout returned to normal.

reed.richards’s picture

Status: Active » Closed (fixed)