From cc3e56e884e3e802f1a22efb6213d5c047f62934 Mon Sep 17 00:00:00 2001 From: vfilippov Date: Fri, 21 Oct 2011 16:07:16 +0000 Subject: [PATCH] Bug 87696 git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1439 6955db30-a419-402b-8a0d-67ecbb4d7f56 --- js/bug.js | 2 +- template/en/default/bug/comments.html.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/bug.js b/js/bug.js index 68a4b07ec..207564722 100644 --- a/js/bug.js +++ b/js/bug.js @@ -56,7 +56,7 @@ function toggle_wtonly(id, initial_wtonly, img) var mark = f.value == '1'; f.value = mark ? '' : '1'; mark = initial_wtonly ? mark : !mark; - img.src = 'images/clock' + (mark ? 'x' : '') + '.gif'; + img.src = 'images/clock' + (mark ? '' : 'x') + '.gif'; img.alt = mark ? 'Comment is marked worktime-only. Click to mark it as normal, then click Save Changes' : 'Comment is marked as normal. Click to mark it as worktime-only, then click Save Changes'; diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index a1b146e48..c4d8b82c9 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -86,14 +86,14 @@ [% IF wt_btn %] [% IF wt_only %] - Comment is marked as worktime-only. Click to mark it as normal, then click Save Changes [% ELSIF comment.type == constants.CMT_NORMAL %] -