X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9249e6ddc35e7cc7077fa5035fbc27397fbb70a9..b7cc868621c5c2e7976cd12c4eb0ba81da8ca87c:/redakcja/static/js/wiki/view_history.js?ds=inline diff --git a/redakcja/static/js/wiki/view_history.js b/redakcja/static/js/wiki/view_history.js index bd6b27b0..85adca0a 100644 --- a/redakcja/static/js/wiki/view_history.js +++ b/redakcja/static/js/wiki/view_history.js @@ -25,10 +25,6 @@ self.makeDiff(); }); - $('#tag-changeset-button').click(function() { - self.showTagForm(); - }); - $('#pubmark-changeset-button').click(function() { self.showPubmarkForm(); }); @@ -146,18 +142,6 @@ }); }; - 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');