Browse Source

Merge branch 'pr/612'

master
Igor Zhukov 10 years ago
parent
commit
691dc69320
  1. 2
      app/js/message_composer.js
  2. 2
      app/partials/desktop/im.html
  3. 2
      app/partials/desktop/message.html
  4. 2
      app/partials/mobile/im.html
  5. 2
      app/partials/mobile/message.html

2
app/js/message_composer.js

@ -447,7 +447,7 @@ MessageComposer.prototype.setUpInput = function () { @@ -447,7 +447,7 @@ MessageComposer.prototype.setUpInput = function () {
MessageComposer.prototype.setUpRich = function () {
this.textareaEl.hide();
this.richTextareaEl = $('<div class="composer_rich_textarea" contenteditable="true"></div>');
this.richTextareaEl = $('<div class="composer_rich_textarea" contenteditable="true" dir="auto"></div>');
this.textareaEl[0].parentNode.insertBefore(this.richTextareaEl[0], this.textareaEl[0]);

2
app/partials/desktop/im.html

@ -171,7 +171,7 @@ @@ -171,7 +171,7 @@
<a class="composer_emoji_insert_btn"><i class="icon icon-emoji"></i></a>
<div class="im_send_dropbox_wrap" my-i18n="im_photos_drop_text"></div>
<textarea ng-model="draftMessage.text" placeholder="{{'im_message_field_placeholder' | i18n}}" class="form-control im_message_field no_outline"></textarea>
<textarea ng-model="draftMessage.text" placeholder="{{'im_message_field_placeholder' | i18n}}" class="form-control im_message_field no_outline" dir="auto"></textarea>
</div>
<div class="clearfix">

2
app/partials/desktop/message.html

@ -65,7 +65,7 @@ @@ -65,7 +65,7 @@
</div>
<div class="im_message_text" ng-if="::historyMessage.message.length || false" ng-bind-html="::historyMessage.richMessage"></div>
<div class="im_message_text" ng-if="::historyMessage.message.length || false" ng-bind-html="::historyMessage.richMessage" dir="auto"></div>
<div class="im_message_external_embed_wrap" ng-if="::historyMessage.richUrlEmbed || false" my-external-embed="historyMessage.richUrlEmbed"></div>
</div>

2
app/partials/mobile/im.html

@ -125,7 +125,7 @@ @@ -125,7 +125,7 @@
<div class="im_send_field_wrap">
<div class="im_send_dropbox_wrap" my-i18n="im_photos_drop_text"></div>
<textarea ng-model="draftMessage.text" placeholder="{{'im_message_field_placeholder' | i18n}}" class="form-control im_message_field no_outline"></textarea>
<textarea ng-model="draftMessage.text" placeholder="{{'im_message_field_placeholder' | i18n}}" class="form-control im_message_field no_outline" dir="auto"></textarea>
</div>
<div class="im_attach pull-right">

2
app/partials/mobile/message.html

@ -55,7 +55,7 @@ @@ -55,7 +55,7 @@
</div>
<div class="im_message_text" ng-if="::historyMessage.message.length || false" ng-bind-html="::historyMessage.richMessage"></div>
<div class="im_message_text" ng-if="::historyMessage.message.length || false" ng-bind-html="::historyMessage.richMessage" dir="auto"></div>
</div>
</div>

Loading…
Cancel
Save