[REFACTOR] user_service.py: Added id to user name, word and frequency for click to execute AJAX request in JS #30
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "Bug400-QiuZhonghui"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Add jquery.js and word_operation.js to the static folder.
Changed the return type of the familiar, unfamiliar and deleteword methods of user_service.py.
In order to get elements in JS to make ajax requests we add ids in userpage_get.html for familiar, unfamiliar, delete buttons and so on.
When the user's word book was retrieved, the list returned was already sorted in descending order of frequency, so redundant code was removed in userpage_get.html.
Bugzilla link: http://118.25.96.118/bugzilla/show_bug.cgi?id=400