X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/020556cb431cabc6357bf02d88ab993cfe86f16a..677f87cc48ea9c54bcfdf35412a06f8def139ea5:/redakcja/static/js/catalogue/book_list.js diff --git a/redakcja/static/js/catalogue/book_list.js b/redakcja/static/js/catalogue/book_list.js index a3d092bc..c0fbf37d 100644 --- a/redakcja/static/js/catalogue/book_list.js +++ b/redakcja/static/js/catalogue/book_list.js @@ -68,16 +68,16 @@ selector: '#file-list', items: { "stage": { - name: "Set stage", + name: $("label[for=mass_edit_stage]").text(), items: get_items("stage"), icon: "clock", }, "user": { - name: "Set user", + name: $("label[for=mass_edit_user]").text(), items: (function() { var active_users = get_items("user"); active_users['other'] = { - name: "Other", + name: $("label[for=mass_edit_other]").text(), items: get_items("other-user"), }; return active_users; @@ -85,11 +85,11 @@ icon: "user", }, "publish": { - name: "Mark publishable", + name: $("label[for=mass_edit_publish]").text(), icon: "ok", }, "unpublish": { - name: "Mark not publishable", + name: $("label[for=mass_edit_unpublish]").text(), icon: "stop", }, },