Przeglądaj źródła

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

Angel Fernando Quiroz Campos 8 lat temu
rodzic
commit
8be9d734b5
1 zmienionych plików z 2 dodań i 7 usunięć
  1. 2 7
      main/course_progress/thematic.php

+ 2 - 7
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>';