diff --git a/codepot/src/codepot/views/code_revision.php b/codepot/src/codepot/views/code_revision.php
index 954a8e42..6f618607 100644
--- a/codepot/src/codepot/views/code_revision.php
+++ b/codepot/src/codepot/views/code_revision.php
@@ -178,13 +178,6 @@ $(function() {
}
);
- $('#code_revision_edit_revision_tag_button').button().click (
- function () {
- $('#code_revision_edit_revision_tag_form').dialog('open');
- return false;
- }
- );
-
$('#code_revision_edit_revision_message_button').button().click (
function () {
$('#code_revision_edit_revision_message_form').dialog('open');
@@ -194,7 +187,7 @@ $(function() {
-$('#code_revision_edit_revision_tag_form').dialog (
+ $('#code_revision_edit_revision_tag_form').dialog (
{
title: 'lang->line('Tag');?>',
resizable: true,
@@ -271,6 +264,13 @@ $('#code_revision_edit_revision_tag_form').dialog (
}
);
+ $('#code_revision_edit_revision_tag_button').button().click (
+ function () {
+ $('#code_revision_edit_revision_tag_form').dialog('open');
+ return false;
+ }
+ );
+
$('#code_revision_new_review_comment_tabs').tabs ();
$('#code_revision_new_review_comment_tabs').bind ('tabsshow', function (event, ui) {
if (ui.index == 1) preview_new_review_comment ($('#code_revision_new_review_comment').val());
@@ -621,7 +621,7 @@ $history = $file['history'];
print ' ';
print anchor ("code/revision/{$project->id}/${hex_headpath}/{$next_revision}", '');
- if ($can_edit)
+ if ($is_loggedin)
{
print ' ';
print '';
@@ -835,7 +835,8 @@ $history = $file['history'];
-
+
+
+
+