feat: Add translation populating procedure for the web interface.

This commit is contained in:
Terry Geng
2020-07-12 14:29:50 +08:00
parent 9f2c4a2afd
commit 97309599f1
12 changed files with 239 additions and 110 deletions

View File

@ -816,7 +816,7 @@ const modal_tag = $('.modal-tag');
const modal_tag_text = $('.modal-tag-text');
function addTagModalShow(_id, _title, _tag_tuples) {
add_tag_modal_title.html('Edit tags for ' + _title);
add_tag_modal_title.html(_title);
add_tag_modal_item_id.val(_id);
add_tag_modal_tags.empty();
_tag_tuples.forEach(function (tag_tuple) {