Avoid edit Thematic advanced via ajax moda - refs BT#11358

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent 20e5d18788
commit 8be9d734b5
  1. 9
      main/course_progress/thematic.php

@ -190,13 +190,8 @@ if ($action == 'thematic_list') {
'index.php?' . api_get_cidreq() . '&' . http_build_query([
'action' => 'thematic_advance_edit',
'thematic_id' => $thematic['id'],
'thematic_advance_id' => $thematic_advance['id'],
'display' => 'no_header'
]),
[
'class' => 'ajax',
'data-title' => get_lang('EditThematicAdvance')
]
'thematic_advance_id' => $thematic_advance['id']
])
);
$edit_link .= '<a onclick="javascript:if(!confirm(\''.get_lang('AreYouSureToDelete').'\')) return false;" href="index.php?'.api_get_cidreq().'&action=thematic_advance_delete&thematic_id='.$thematic['id'].'&thematic_advance_id='.$thematic_advance['id'].'">'.
Display::return_icon('delete.png',get_lang('Delete'),'',ICON_SIZE_SMALL).'</a></center>';

Loading…
Cancel
Save