Changeset 141

Show
Ignore:
Timestamp:
08/24/10 10:18:52 (18 months ago)
Author:
gnum
Message:

References #96, small addition to prevent the ckicl event for ajaxified links

Location:
trunk/views/default/edufeedr
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/views/default/edufeedr/educourse_facilitators.php

    r139 r141  
    7676                        $body .= elgg_view('input/text', array('value' => '', 'internalname' => 'facilitator_name', 'internalid' => 'facilitator_name', 'class' => 'input_text_small')); 
    7777                        /*translation:Add*/ 
    78                         $body .= '<a href="#" onclick="edufeedrAddFacilitator(\''.$vars['entity']->getGUID().'\');">'.elgg_echo('edufeedr:href:button:add').'</a>'; 
     78                        $body .= ' <a href="#" onclick="edufeedrAddFacilitator(\''.$vars['entity']->getGUID().'\'); return false;">'.elgg_echo('edufeedr:href:button:add').'</a>'; 
    7979                } 
    8080 
  • trunk/views/default/edufeedr/singles/educourse_facilitator.php

    r139 r141  
    2121                $body .= elgg_view('output/email', array('value' => $vars['facilitator']->email)); 
    2222                if ($type == 'edit' && $show_delete && $can_manage) { 
    23                         $body .= ' <a href="#" onclick="edufeedrRemoveFacilitator(\''.$vars['facilitator']->getGUID().'\', \''.$vars['educourse']->getGUID().'\');"><img src="'.$vars['url'].'mod/edufeedr/views/default/graphics/delete.png" alt="remove" /></a>'; 
     23                        $body .= ' <a href="#" onclick="edufeedrRemoveFacilitator(\''.$vars['facilitator']->getGUID().'\', \''.$vars['educourse']->getGUID().'\'); return false;"><img src="'.$vars['url'].'mod/edufeedr/views/default/graphics/delete.png" alt="remove" /></a>'; 
    2424                } 
    2525                $body .= '</div>';