Don't flip around comments
Posted: Tue Jun 24, 2008 4:44 pm
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>
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>