diff options
| author | Simon | 2011-04-13 17:32:56 +0200 |
|---|---|---|
| committer | Simon | 2011-04-13 17:32:56 +0200 |
| commit | 2f2ccac220efcef4df867fcc7febc4ca734cabcb (patch) | |
| tree | 386f91f9142d33555943d624cdb75ba35c98e551 /application/modules/user/views/scripts/role | |
| parent | Superordinated Group ist immer die aktuelle Gruppe (diff) | |
| parent | HTML Fehler, die in Eclipse angezeigt wurden, entfernt (diff) | |
| download | pbs2-2f2ccac220efcef4df867fcc7febc4ca734cabcb.tar.gz pbs2-2f2ccac220efcef4df867fcc7febc4ca734cabcb.tar.xz pbs2-2f2ccac220efcef4df867fcc7febc4ca734cabcb.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/views/scripts/role')
| -rw-r--r-- | application/modules/user/views/scripts/role/add.phtml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/application/modules/user/views/scripts/role/add.phtml b/application/modules/user/views/scripts/role/add.phtml index 23d4c55..59c0dae 100644 --- a/application/modules/user/views/scripts/role/add.phtml +++ b/application/modules/user/views/scripts/role/add.phtml @@ -1,5 +1,19 @@ <h1>Add Role</h1> +<div>Click to expand the boxes</div> <?php $this->addForm->setAction($this->url()); echo $this->addForm; -?>
\ No newline at end of file +?> +<script> +$(document).ready(function(){ + $('fieldset').children('dl:gt(0)').hide(); + $('fieldset fieldset>legend').css('cursor','pointer'); + $('fieldset fieldset').click( + function(e){ + if($(e.target).context.nodeName == "LEGEND"){ + $(this).children('dl').slideToggle(); + } + }); + +}); +</script>
\ No newline at end of file |
