User list sorted by last activity.
[redakcja.git] / src / redakcja / static / js / wiki_img / view_editor_motifs.js
1 (function($){
2
3     function MotifsPerspective(options){
4         var old_callback = options.callback;
5
6         options.callback = function(){
7             var self = this;
8             this.$editor = $("#motifs-editor");
9             this.object_type_name = "motyw";
10             this.xml_object_type = 'theme';
11
12             this._init();
13
14             $.themes.autocomplete(self.$tag_name);
15
16             old_callback.call(this);
17         };
18
19         $.wiki.Perspective.call(this, options);
20     };
21
22     MotifsPerspective.prototype = new $.wiki.ObjectsPerspective();
23
24     $.wiki.MotifsPerspective = MotifsPerspective;
25
26 })(jQuery);