Skip to content

Commit

Permalink
Remove no longer used information about ajax call (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
kofrezo authored May 15, 2024
1 parent 32c164a commit 96eba41
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions serveradmin/servershell/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Serveradmin - Servershell
Copyright (c) 2021 InnoGames GmbH
Copyright (c) 2024 InnoGames GmbH
"""

import json
Expand Down Expand Up @@ -389,8 +389,7 @@ def _edit(request: HttpRequest, server, edit_mode=False, template='edit'): # NO
'object_id': server.object_id,
'hostname': server['hostname'],
'fields': fields,
'is_ajax': request.is_ajax(),
'base_template': 'empty.html' if request.is_ajax() else 'base.html',
'base_template': 'base.html',
'link': request.get_full_path(),
})

Expand Down

0 comments on commit 96eba41

Please sign in to comment.