fix buttons on events page. data-onclick-this to data-on-click-this

This commit is contained in:
Isaac Connor 2019-02-07 08:56:48 -05:00
parent 7e84a5914c
commit 1039149866
1 changed files with 8 additions and 8 deletions

View File

@ -232,7 +232,7 @@ while ( $event_row = dbFetchNext($results) ) {
echo '</td>'; echo '</td>';
} // end if ZM_WEB_LIST_THUMBS } // end if ZM_WEB_LIST_THUMBS
?> ?>
<td class="colMark"><input type="checkbox" name="markEids[]" value="<?php echo $event->Id() ?>" data-onclick-this="configureButton"/></td> <td class="colMark"><input type="checkbox" name="markEids[]" value="<?php echo $event->Id() ?>" data-on-click-this="configureButton"/></td>
</tr> </tr>
<?php <?php
} }
@ -274,25 +274,25 @@ if ( $pagination ) {
} }
?> ?>
<div id="contentButtons"> <div id="contentButtons">
<button type="button" name="viewBtn" value="View" data-onclick-this="viewEvents" disabled="disabled"> <button type="button" name="viewBtn" value="View" data-on-click-this="viewEvents" disabled="disabled">
<?php echo translate('View') ?> <?php echo translate('View') ?>
</button> </button>
<button type="button" name="archiveBtn" value="Archive" data-onclick-this="archiveEvents" disabled="disabled"> <button type="button" name="archiveBtn" value="Archive" data-on-click-this="archiveEvents" disabled="disabled">
<?php echo translate('Archive') ?> <?php echo translate('Archive') ?>
</button> </button>
<button type="button" name="unarchiveBtn" value="Unarchive" data-onclick-this="unarchiveEvents" disabled="disabled"> <button type="button" name="unarchiveBtn" value="Unarchive" data-on-click-this="unarchiveEvents" disabled="disabled">
<?php echo translate('Unarchive') ?> <?php echo translate('Unarchive') ?>
</button> </button>
<button type="button" name="editBtn" value="Edit" data-onclick-this="editEvents" disabled="disabled"> <button type="button" name="editBtn" value="Edit" data-on-click-this="editEvents" disabled="disabled">
<?php echo translate('Edit') ?> <?php echo translate('Edit') ?>
</button> </button>
<button type="button" name="exportBtn" value="Export" data-onclick-this="exportEvents" disabled="disabled"> <button type="button" name="exportBtn" value="Export" data-on-click-this="exportEvents" disabled="disabled">
<?php echo translate('Export') ?> <?php echo translate('Export') ?>
</button> </button>
<button type="button" name="downloadBtn" value="DownloadVideo" data-onclick-this="downloadVideo" disabled="disabled"> <button type="button" name="downloadBtn" value="DownloadVideo" data-on-click-this="downloadVideo" disabled="disabled">
<?php echo translate('DownloadVideo') ?> <?php echo translate('DownloadVideo') ?>
</button> </button>
<button type="button" name="deleteBtn" value="Delete" data-onclick-this="deleteEvents" disabled="disabled"> <button type="button" name="deleteBtn" value="Delete" data-on-click-this="deleteEvents" disabled="disabled">
<?php echo translate('Delete') ?> <?php echo translate('Delete') ?>
</button> </button>
</div> </div>