Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

csrf.js and cookie.js #66

@kuyucakli

Description

@kuyucakli

Hi,
In static/js folder there is a csrf.js ( for ajax ).
But I couldn't find the line you are calling it, in the template files.
And why cookie.js is needed ? ( there is no comment line for this )?

When I add cookie.js I get error:

jquery.min.js:2 jQuery.Deferred exception: $.cookie is not a function TypeError: $.cookie is not a function
at HTMLDocument. (http://127.0.0.1:8000/admin/media_library/media/?:467:28)
at j (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:29999)
at k (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:30313) undefined

Thank you very much...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions