Commit d3b88f4f authored by Michal Čihař's avatar Michal Čihař

Merge branch 'master' into zen

parents 67ca2c9e e0c38449
......@@ -247,8 +247,11 @@ $(function () {
$('#button-prev').button({text: false, icons: { primary: "ui-icon-seek-prev" }});
$('#button-end').button({text: false, icons: { primary: "ui-icon-seek-end" }});
$('#navi .button-disabled').button('disable');
$('.translation-editor').change(text_change).keypress(text_change).autogrow();
$('.translation-editor').focus();
var translation_editor = $('.translation-editor');
if (translation_editor.length > 0) {
translation-editor.change(text_change).keypress(text_change).autogrow();
translation-editor.get(0).focus();
}
$('#toggle-direction').buttonset().change(function (e) {
$('.translation-editor').attr('dir', $("#toggle-direction :radio:checked").attr('value')).focus();
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment