2009-07-19 18:41:42 +02:00
|
|
|
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2008-08-28 16:48:45 +02:00
|
|
|
|
2009-11-04 23:13:20 +01:00
|
|
|
function onUpdateACL(event) {
|
|
|
|
$('userRightsForm').submit();
|
|
|
|
Event.stop(event);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
function onCancelACL(event) {
|
|
|
|
window.close();
|
2007-04-28 00:05:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
function initACLButtons() {
|
2009-11-04 23:13:20 +01:00
|
|
|
$("updateButton").observe("click", onUpdateACL);
|
|
|
|
$("cancelButton").observe("click", onCancelACL);
|
2007-04-28 00:05:17 +02:00
|
|
|
}
|
|
|
|
|
2009-03-12 22:09:14 +01:00
|
|
|
document.observe("dom:loaded", initACLButtons);
|