diff options
author | mluto <m@luto.at> | 2013-01-25 20:38:24 +0100 |
---|---|---|
committer | mluto <m@luto.at> | 2013-01-25 20:38:24 +0100 |
commit | 046fac9fa9c1a4cb2677d09ade9c181750f5a6d4 (patch) | |
tree | 4143b5fef8c59a7e77f4156dca060ceaf89cec70 /src/static/js/pad_editor.js | |
parent | 763864539ffce2ed1b60be0e63bcb060deafe712 (diff) | |
download | etherpad-lite-046fac9fa9c1a4cb2677d09ade9c181750f5a6d4.zip |
Added a comment to clearify *why* this works
Diffstat (limited to 'src/static/js/pad_editor.js')
-rw-r--r-- | src/static/js/pad_editor.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/static/js/pad_editor.js b/src/static/js/pad_editor.js index 553245ea..dd0cbbbb 100644 --- a/src/static/js/pad_editor.js +++ b/src/static/js/pad_editor.js @@ -79,6 +79,9 @@ var padeditor = (function() html10n.bind('localized', function() { $("#languagemenu").val(html10n.getLanguage()); // translate the value of 'unnamed' and 'Enter your name' textboxes in the userlist + // this does not interfere with html10n's normal value-setting because html10n just ingores <input>s + // also, a value which has been set by the user will be not overwritten since a user-edited <input> + // does *not* have the editempty-class $('input[data-l10n-id]').each(function(key, input) { input = $(input); |