Page 1 of 1

Don't flip around comments

Posted: Tue Jun 24, 2008 4:44 pm
by hanno
Hi,

S9Y has a behaviour in the comments that imho makes it less usable: When activating/marking a comment (in the admin backend), it's border flips from 1px to 2px.

Especially if you "invert selection" on a large number of comments, your buttons may flip out of the visible area.

So my suggestion is to just leave this "feature" away. Patch see below.

--- include/admin/comments.inc.php.1 2008-06-24 16:41:13.000000000 +0200
+++ include/admin/comments.inc.php 2008-06-24 16:41:21.000000000 +0200
@@ -283,10 +283,8 @@
var comment = document.getElementById(id);
if (checkvalue) {
comment.style.borderColor = '#FF0000';
- comment.style.borderWidth = 2;
} else {
comment.style.borderColor = '';
- comment.style.borderWidth = '';
}
}
</script>

Re: Don't flip around comments

Posted: Tue Dec 08, 2009 2:08 pm
by garvinhicking
Hi!

I've disabled it from flipping to 2px, and leave it at 1px.

Thanks for your input, and sorry it got delayed! :(

Regards,
Garvin