Single doc mode: edit on click
This commit is contained in:
parent
44ac2ca4e6
commit
ad9130b538
|
@ -214,7 +214,7 @@ body.bubblechat .mes[is_user="true"] {
|
|||
/* Document Style */
|
||||
|
||||
body.documentstyle #chat .mes:not(.last_mes) {
|
||||
padding: 0 10px;
|
||||
padding: 5px 10px 0px 10px;
|
||||
}
|
||||
|
||||
body.documentstyle .last_mes {
|
||||
|
|
|
@ -400,6 +400,11 @@ jQuery(function () {
|
|||
callPopup(wrapper, 'text', '', { wide: true, large: true });
|
||||
});
|
||||
|
||||
$(document).on('click', 'body.documentstyle .mes .mes_text', function () {
|
||||
if ($('.edit_textarea').length) return;
|
||||
$(this).closest('.mes').find('.mes_edit').trigger('click');
|
||||
});
|
||||
|
||||
$('#file_form_input').on('change', onFileAttach);
|
||||
$('#file_form').on('reset', function () {
|
||||
$('#file_form').addClass('displayNone');
|
||||
|
|
Loading…
Reference in New Issue