mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Frontend modified to new django asgi standard
This commit is contained in:
@@ -214,7 +214,7 @@ $(document).ready(function(){
|
||||
}
|
||||
customlog(['Collections Clicked']);
|
||||
$.ajax({
|
||||
type: "GET", url: "/live", data: {hook: 'collection_listing'},
|
||||
type: "GET", url: "/menu", data: {hook: 'collection_listing'},
|
||||
success: function(response){
|
||||
// Set the dialog title
|
||||
$('#pop_over_0').dialog({
|
||||
@@ -250,7 +250,7 @@ $(document).ready(function(){
|
||||
}
|
||||
customlog(['Book Details Clicked', $(this).attr('data')]);
|
||||
$.ajax({
|
||||
type: "GET", url: "/live", data: {hook: 'details', pk:$(this).attr('data')},
|
||||
type: "GET", url: "/menu", data: {hook: 'details', pk:$(this).attr('data')},
|
||||
success: function(response){
|
||||
// Set the dialog title
|
||||
$('#pop_over_0').dialog({
|
||||
|
||||
Reference in New Issue
Block a user