Fix purge library from the edit modal
This commit is contained in:
@@ -628,7 +628,8 @@ class WebInterface(object):
|
||||
result = None
|
||||
status_message = 'An error occured.'
|
||||
|
||||
return serve_template(templatename="edit_library.html", title="Edit Library", data=result, status_message=status_message)
|
||||
return serve_template(templatename="edit_library.html", title="Edit Library",
|
||||
data=result, server_id=plexpy.CONFIG.PMS_IDENTIFIER, status_message=status_message)
|
||||
|
||||
@cherrypy.expose
|
||||
@requireAuth(member_of("admin"))
|
||||
@@ -1015,10 +1016,10 @@ class WebInterface(object):
|
||||
|
||||
```
|
||||
Required parameters:
|
||||
server_id (str): The Plex server identifier of the library section
|
||||
section_id (str): The id of the Plex library section
|
||||
|
||||
Optional parameters:
|
||||
server_id (str): The Plex server identifier of the library section
|
||||
row_ids (str): Comma separated row ids to delete, e.g. "2,3,8"
|
||||
|
||||
Returns:
|
||||
@@ -1044,10 +1045,10 @@ class WebInterface(object):
|
||||
|
||||
```
|
||||
Required parameters:
|
||||
server_id (str): The Plex server identifier of the library section
|
||||
section_id (str): The id of the Plex library section
|
||||
|
||||
Optional parameters:
|
||||
server_id (str): The Plex server identifier of the library section
|
||||
row_ids (str): Comma separated row ids to delete, e.g. "2,3,8"
|
||||
|
||||
Returns:
|
||||
|
Reference in New Issue
Block a user