update to new flickr metadata format
[redakcja.git] / redakcja / static / js / wiki / view_history.js
index bd6b27b..85adca0 100644 (file)
                                self.makeDiff();
                        });
 
-                       $('#tag-changeset-button').click(function() {
-                               self.showTagForm();
-                       });
-
                        $('#pubmark-changeset-button').click(function() {
                                self.showPubmarkForm();
                        });
         });
     };
 
-       HistoryPerspective.prototype.showTagForm = function(){
-               var selected = $('#changes-list .entry.selected');
-
-               if (selected.length != 1) {
-            window.alert("Musisz zaznaczyć dokładnie jedną wersję.");
-            return;
-        }
-
-               var version = parseInt($("*[data-stub-value='version']", selected[0]).text());
-               $.wiki.showDialog('#add_tag_dialog', {'revision': version});
-       };
-
        HistoryPerspective.prototype.showPubmarkForm = function(){
                var selected = $('#changes-list .entry.selected');