akottr / dragtable

re-order table columns by using drag'n'drop
http://akottr.github.io/dragtable
MIT License
203 stars 166 forks source link

jQuery .size() no longer supported? #58

Closed jrvjrv closed 8 years ago

jrvjrv commented 8 years ago

Included current versions of jQuery as:

<script
              src="https://code.jquery.com/jquery-3.0.0.min.js"
              integrity="sha256-JmvOoLtYsmqlsWxa7mDSLMwa6dZ9rrIdtrrVYRnDRH0="
              crossorigin="anonymous"></script>
<script
              src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"
              integrity="sha256-xNjb53/rY+WmG+4L6tTl9m6PpqknWZvRt0rO1SRnJzw="
              crossorigin="anonymous"></script>
<script src="dragtable-2.0.12/jquery.dragtable.js"></script>

I got exceptions that 'size()' was not a function. I replaced all instances of 'size()' with 'length'; 'size()' seems to have been deprecated as of jQuery 1.8 (https://api.jquery.com/size/)