make writing message in RTL languages easier

This commit is contained in:
behrooz shabani (everplays) 2015-01-06 20:42:30 +01:00
parent 049384e579
commit 69e90ea075

View File

@ -1075,6 +1075,7 @@ angular.module('myApp.directives', ['myApp.filters'])
if (richTextarea) {
editorElement = richTextarea;
$(richTextarea).addClass('form-control');
$(richTextarea).attr('dir', 'auto');
$(richTextarea).attr('placeholder', $interpolate($(messageField).attr('placeholder'))($scope));
var updatePromise;