Commits

Carl Meyer committed 2900635

Update to jQuery 1.8.

Comments (0)

Files changed (2)

        of ``row_attrs`` which can be accessed from the template to
        apply attributes to the surrounding container (<li>, <tr>, or
        whatever) of a specific form field.
-    
+
     2. A ``ClearableFileField`` to enhance ``FileField`` and
        ``ImageField`` with a checkbox for clearing the contents of the
        field.
        rather than just the filename.
 
     4. An ``AutoResizeTextarea`` widget which auto-resizes to
-       accomodate its contents.
+       accommodate its contents.
 
 Installation
 ============
 
 `AutoResizeTextarea`_ requires the jQuery Javascript library.  By
 default, ``django-form-utils`` links to the most recent minor version
-of jQuery 1.4 available at ajax.googleapis.com (via the URL
-``http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js``).
+of jQuery 1.8 available at ajax.googleapis.com (via the URL
+``http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js``).
 If you wish to use a different version of jQuery, or host it yourself,
 set the JQUERY_URL setting.  For example::
 

form_utils/settings.py

 
 JQUERY_URL = getattr(
     settings, 'JQUERY_URL',
-    'http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js')
+    'http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js')
 
 if not ((':' in JQUERY_URL) or (JQUERY_URL.startswith('/'))):
     JQUERY_URL = posixpath.join(settings.STATIC_URL, JQUERY_URL)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.