Skip to content

Commit

Permalink
- AFAIK, media comments only have quick reply mode, not full page pos…
Browse files Browse the repository at this point in the history
…t mode. So, a preview page made no sense because it had nowhere to show its data. I could fix that into showing the data in the quick reply page, but... Seriously? Previewing a media item's comment? (Subs-Media.php)

! Fixed wrong width for media comment editor. (Subs-Media.php)
  • Loading branch information
Nao committed Mar 21, 2014
1 parent 449e8d2 commit 317f05d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions core/app/media/Subs-Media.php
Expand Up @@ -1604,7 +1604,7 @@ function aeva_createTextEditor($post_box_name, $post_box_form, $forceDisableBBC
'id' => $post_box_name,
'form' => $post_box_form,
'value' => $value,
'width' => '95%',
'width' => '100%',
'disable_smiley_box' => $forceDisableBBC,
'buttons' => array(
array(
Expand All @@ -1613,12 +1613,6 @@ function aeva_createTextEditor($post_box_name, $post_box_form, $forceDisableBBC
'onclick' => 'return submitThisOnce(this);',
'accesskey' => 's',
),
array(
'name' => 'preview',
'button_text' => $txt['preview'],
'onclick' => 'return submitThisOnce(this);',
'accesskey' => 'p',
),
),
'drafts' => 'none',
'custom_bbc_div' => 'bbcBox_message',
Expand Down

0 comments on commit 317f05d

Please sign in to comment.