diff options
Diffstat (limited to 'application/modules/user/views/scripts/bootmenu')
| -rw-r--r-- | application/modules/user/views/scripts/bootmenu/index.phtml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/application/modules/user/views/scripts/bootmenu/index.phtml b/application/modules/user/views/scripts/bootmenu/index.phtml index 1ed7807..5d298a5 100644 --- a/application/modules/user/views/scripts/bootmenu/index.phtml +++ b/application/modules/user/views/scripts/bootmenu/index.phtml @@ -1,5 +1,6 @@ <h1>BootMenu</h1> <?php if($this->notification != ''){echo $this->notification;} ?> +<div id='notification' style='display:none;'></div> <?php echo $this->searchform; ?> <?php echo $this->formButton('createbootmenu', 'Create BootMenu', array( 'onclick' => 'self.location="/user/bootmenu/createbootmenu/page/'.$this->page.'"', @@ -80,7 +81,7 @@ <div class='number'><?php echo $this->escape($bootmenuentry->getID()); ?></div> <div class='content'> <div class='actions'> - <a href="<?php echo $this->url( + <a class='play' href="<?php echo $this->url( array( 'controller' => 'resource', 'action' => 'getbootmenuentry', @@ -135,3 +136,11 @@ <?php echo $this->pagination; ?> +<script> +$(document).ready(function(){ + $('.actions .play').click(function (){ + $("#notification").load($(this).attr('href')).addClass('infobox').show(); + return false; + }); +}); +</script> |
