freenetis-github/application/views/js/monitoring_action.php @ 8baed187
8baed187 | Michal Kliment | <?php
|
|
/**
|
|||
* Segment add javascript view.
|
|||
*
|
|||
* @author Michal Kliment, Ondřej Fibich
|
|||
*/
|
|||
// IDE complementation
|
|||
if (FALSE): ?><script type="text/javascript"><?php endif
|
|||
?>
|
|||
$("#action").live('change', function (){
|
|||
var is_not_delete = ($(this).val() != 'delete');
|
|||
$("#priority").parent().parent().toggle(is_not_delete);
|
|||
});
|
|||
$("#action").trigger('change');
|