-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin treetable not working for me #15
Comments
It appears that jQuery is loaded. It is included in Django 1.2 and is specifically loaded in the admin/editor/tree_editor.html template. is 'editor' in your installed apps? |
Yes I have editor in apps. This is the top of the page that lists the categories: <script type="text/javascript" src="/media/js/core.js"></script> <script type="text/javascript" src="/media/js/admin/RelatedObjectLookups.js"></script> <script type="text/javascript" src="/media/js/jquery.min.js"></script> <script type="text/javascript" src="/media/js/jquery.init.js"></script> <script type="text/javascript" src="/media/js/actions.min.js"></script> <script type="text/javascript" src="/media/js/urlify.js"></script> <script type="text/javascript" src="/media/js/prepopulate.min.js"></script> <script type="text/javascript" src="/site_media/editor/jquery.treeTable.js"></script> <script type="text/javascript" src="/site_media/js/genericcollections.js"></script> <script type="text/javascript"> (function($) { $(document).ready(function($) { $("tr input.action-select").actions(); }); })(django.jQuery); </script>
|
1 similar comment
Yes I have editor in apps. This is the top of the page that lists the categories: <script type="text/javascript" src="/media/js/core.js"></script> <script type="text/javascript" src="/media/js/admin/RelatedObjectLookups.js"></script> <script type="text/javascript" src="/media/js/jquery.min.js"></script> <script type="text/javascript" src="/media/js/jquery.init.js"></script> <script type="text/javascript" src="/media/js/actions.min.js"></script> <script type="text/javascript" src="/media/js/urlify.js"></script> <script type="text/javascript" src="/media/js/prepopulate.min.js"></script> <script type="text/javascript" src="/site_media/editor/jquery.treeTable.js"></script> <script type="text/javascript" src="/site_media/js/genericcollections.js"></script> <script type="text/javascript"> (function($) { $(document).ready(function($) { $("tr input.action-select").actions(); }); })(django.jQuery); </script>
|
I'm seeing something similar presently - All the UI files are loading properly, but I'm not seeing .treeTable as a class on the table. I see child rows in the source, but I do not see them in the admin UI, and there's no toggle to expand/collapse them. See: #79 |
Not sure if this is a versions problem. I get this error when loading admin page for Categories:
TypeError: Result of expression '$' [undefined] is not an object.
On this line in treeTable.js
$.fn.treeTable = function(opts) {
treeTable v 2.3.0
jQuery v. 1.4.2
The text was updated successfully, but these errors were encountered: