X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..0a2221a9af54f60f93f0d9799a4b87a5774667d8:/redakcja/static/js/wiki_img/view_editor_motifs.js diff --git a/redakcja/static/js/wiki_img/view_editor_motifs.js b/redakcja/static/js/wiki_img/view_editor_motifs.js index 7ce96650..3b6f45d9 100644 --- a/redakcja/static/js/wiki_img/view_editor_motifs.js +++ b/redakcja/static/js/wiki_img/view_editor_motifs.js @@ -117,7 +117,7 @@ var self = this; this.$objects_list.children().remove(); - $.each(this.doc.getImageItems('motyw'), function(i, e) { + $.each(this.doc.getImageItems('theme'), function(i, e) { self._push.apply(self, e); }); @@ -140,7 +140,7 @@ args.unshift($(e).text()); motifs.push(args); }) - self.doc.setImageItems('motyw', motifs); + self.doc.setImageItems('theme', motifs); this.ias.setOptions({disable: true, hide: true});