Querysets used to populate form fields are more filtered (ie. the default admin is ignored, as the current logged in user).

see #92

More protection against errors that can happen when defining new permissions.
This commit is contained in:
tonio
2010-11-27 17:49:55 +01:00
parent 0973e0f260
commit 5d425c8cbe
10 changed files with 86 additions and 57 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ html > body #listing {
border-bottom: 1px solid #C8D6E8;
user-select: none; /* CSS3 */
-moz-user-select: none; /* Gecko (Firefox) */
-khtml-user-select:none; /* Webkit (Safari, Chrome) */
-khtml-user-select: none; /* Webkit (Safari, Chrome) */
}
tr.selected {
@@ -211,12 +211,6 @@
var fromrow = -1;
var torow = -1;
$(document.body).addEvent("keydown", function(event) {
if (event.shift) {
event.stop();
}
});
/* The IE way for disabling default selection */
$$("tbody>tr").set("unselectable", "on");