Uncaught ReferenceError: Editor is not defined datatables.js:23012

Uncaught ReferenceError: Editor is not defined datatables.js:23012

SOLID-TSOLID-T Posts: 3Questions: 2Answers: 0
edited July 2023 in Free community support

Bootstrap integration seems to be broken. I just included the js, no settings at all.

Uncaught ReferenceError: Editor is not defined datatables.js:23012

* To rebuild or modify this file with the latest versions of the included
 * software please visit:
 *   https://datatables.net/download/#bs4/dt-1.13.5/e-2.2.0/af-2.6.0/b-2.4.0/b-colvis-2.4.0/b-html5-2.4.0/date-1.5.0/fc-4.3.0/fh-3.4.0/rr-1.4.0/sc-2.2.0/sl-1.7.0/sr-1.3.0
 *
 * Included libraries:
 *   DataTables 1.13.5, Editor 2.2.0, AutoFill 2.6.0, Buttons 2.4.0, Column visibility 2.4.0, HTML5 export 2.4.0, DateTime 1.5.0, FixedColumns 4.3.0, FixedHeader 3.4.0, RowReorder 1.4.0, Scroller 2.2.0, Select 1.7.0, StateRestore 1.3.0
 */

/*! DataTables 1.13.5
 * ©2008-2023 SpryMedia Ltd - datatables.net/license
 */

jQuery v3.2.0
Bootstrap v4.0.0

Simple HTML

<!doctype html>
<html>

<head>
    <!-- HTML5 charset -->
    <meta charset="utf-8">
    <!-- Robots -->
    <meta name="robots" content="noindex, nofollow, NOODP, nosnippet, noarchive">
    <!-- Caching -->
    <meta http-equiv="expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="x-dns-prefetch-control" content="off">
    <link href="&#x2F;assets&#x2F;plugins&#x2F;bootstrap&#x2F;css&#x2F;bootstrap.min.css" media="all" rel="stylesheet" type="text&#x2F;css">
    <link href="&#x2F;assets&#x2F;plugins&#x2F;&#x2F;DataEdit&#x2F;datatables.min.css" media="all" rel="stylesheet" type="text&#x2F;css">
    <title>Module</title>
</head>

<body class="fix-header card-no-border">
    <form method="POST" name="bulk" class="form-horizontal" id="bulk">
        <table id="list" class="table table-striped table-bordered table-hover dataTable">
            <thead>
                <tr>
                    <th>Sort</th>
                    <th data-sortable="true">Label</th>
                    <th data-sortable="true">Fieldtype</th>
                    <th data-sortable="true">Required</th>
                    <th class="noExport"><i class="fa fa-edit"></i></th>
                    <th class="noExport"><i class="fa fa-times"></i></th>
                </tr>
            </thead>
            <tfoot>
                <tr>
                    <th>Sort</th>
                    <th>Label</th>
                    <th>Fieldtype</th>
                    <th>Required</th>
                    <th><i class="fa fa-edit"></i></th>
                    <th><i class="fa fa-times"></i></th>
                </tr>
            </tfoot>
        </table>
    </form>
    <script src="&#x2F;assets&#x2F;plugins&#x2F;jquery&#x2F;jquery.min.js"></script>
    <script src="&#x2F;assets&#x2F;plugins&#x2F;popper&#x2F;popper.min.js"></script>
    <script src="&#x2F;assets&#x2F;plugins&#x2F;bootstrap&#x2F;js&#x2F;bootstrap.min.js"></script>
    <script src="&#x2F;assets&#x2F;plugins&#x2F;DataEdit&#x2F;datatables.js"></script>
</body>

</html>

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Sorry for the inconvenience, this was spotted a couple of days ago. There is a quick fix, please see this thread. Allan was aiming to make a proper patch release today, but that's got slightly delayed. Hopefully it'll be out tomorrow.

    Colin

Sign In or Register to comment.