Adds data-i18n attribute.

This commit is contained in:
damencho 2016-10-18 11:36:17 -05:00
parent a9aa29d0ad
commit 040f4a6618
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ export default class InviteDialogView {
if (!pass) if (!pass)
pass = APP.translation.translateString("passwordSetRemotely"); pass = APP.translation.translateString("passwordSetRemotely");
$('#inviteDialogPassword').attr("data-i18n", "passwordSetRemotely");
$('#inviteDialogPassword').text(pass); $('#inviteDialogPassword').text(pass);
$('#newPasswordInput').val(''); $('#newPasswordInput').val('');
this.disableAddPassIfInputEmpty(); this.disableAddPassIfInputEmpty();