diff --git a/views/sheets/copy_assignment_dialog.php b/views/sheets/copy_assignment_dialog.php index 3d522e05ff97ea520ffea84602a9a28145246e89..8f8d8bcb3c550ed3aa90511e4e146c6e0f418da1 100644 --- a/views/sheets/copy_assignment_dialog.php +++ b/views/sheets/copy_assignment_dialog.php @@ -36,7 +36,7 @@ <thead> <tr class="sortable"> <th style="width: 45%;" class="<?= vips_sort_class($sort === 'test_title', $desc) ?>"> - <input type="checkbox" data-proxyfor=".batch_select" data-activates=".batch_action" title="<?= _vips('Alle Aufgaben auswählen') ?>"> + <input type="checkbox" data-proxyfor=".batch_select_d" data-activates=".batch_action_d" title="<?= _vips('Alle Aufgaben auswählen') ?>"> <a href="<?= $controller->link_for('sheets/copy_assignment_dialog', compact('search_filter') + ['sort' => 'test_title', 'desc' => $sort === 'test_title' && !$desc]) ?>" data-dialog="size=1200x800"> <?= _vips('Aufgabenblatt') ?> @@ -63,7 +63,7 @@ <tr> <td> <label class="undecorated"> - <input class="batch_select" type="checkbox" name="assignment_ids[]" value="<?= $assignment['id'] ?>"> + <input class="batch_select_d" type="checkbox" name="assignment_ids[]" value="<?= $assignment['id'] ?>"> <?= htmlReady($assignment['test_title']) ?> <a href="<?= $controller->link_for('sheets/show_assignment', ['cid' => $course_id, 'assignment_id' => $assignment['id']]) ?>" target="_blank"> @@ -99,6 +99,6 @@ <? endif ?> <footer data-dialog-button> - <?= Studip\Button::createAccept(_vips('Kopieren'), 'copy_assignment', ['class' => 'batch_action']) ?> + <?= Studip\Button::createAccept(_vips('Kopieren'), 'copy_assignment', ['class' => 'batch_action_d']) ?> </footer> </form> diff --git a/views/sheets/copy_exercise_dialog.php b/views/sheets/copy_exercise_dialog.php index 1feb80f615ed50676ceb5bcc69f9c81b41064d3a..6dd2df5c7e36bfaae91bc28115b74766c2a81333 100644 --- a/views/sheets/copy_exercise_dialog.php +++ b/views/sheets/copy_exercise_dialog.php @@ -37,7 +37,7 @@ <thead> <tr class="sortable"> <th style="width: 40%;" class="<?= vips_sort_class($sort === 'title', $desc) ?>"> - <input type="checkbox" data-proxyfor=".batch_select" data-activates=".batch_action" title="<?= _vips('Alle Aufgaben auswählen') ?>"> + <input type="checkbox" data-proxyfor=".batch_select_d" data-activates=".batch_action_d" title="<?= _vips('Alle Aufgaben auswählen') ?>"> <a href="<?= $controller->link_for('sheets/copy_exercise_dialog', compact('assignment_id', 'search_filter') + ['sort' => 'title', 'desc' => $sort === 'title' && !$desc]) ?>" data-dialog="size=big"> <?= _vips('Titel der Aufgabe') ?> @@ -70,7 +70,7 @@ <tr> <td> <label class="undecorated"> - <input class="batch_select" type="checkbox" name="exercise_ids[<?= $exercise['id'] ?>]" value="<?= $exercise['assignment_id'] ?>"> + <input class="batch_select_d" type="checkbox" name="exercise_ids[<?= $exercise['id'] ?>]" value="<?= $exercise['assignment_id'] ?>"> <?= htmlReady($exercise['title']) ?> <a href="<?= $controller->link_for('sheets/preview_exercise', ['assignment_id' => $exercise['assignment_id'], 'exercise_id' => $exercise['id']]) ?>" @@ -112,6 +112,6 @@ <? endif ?> <footer data-dialog-button> - <?= Studip\Button::createAccept(_vips('Kopieren'), 'copy_exercise', ['class' => 'batch_action']) ?> + <?= Studip\Button::createAccept(_vips('Kopieren'), 'copy_exercise', ['class' => 'batch_action_d']) ?> </footer> </form>