Simplified code
This commit is contained in:
@@ -435,7 +435,6 @@ def edit(node_id):
|
|||||||
|
|
||||||
embed_string = ''
|
embed_string = ''
|
||||||
# Check if we want to embed the content via an AJAX call
|
# Check if we want to embed the content via an AJAX call
|
||||||
if request.args.get('embed'):
|
|
||||||
if request.args.get('embed') == '1':
|
if request.args.get('embed') == '1':
|
||||||
# Define the prefix for the embedded template
|
# Define the prefix for the embedded template
|
||||||
embed_string = '_embed'
|
embed_string = '_embed'
|
||||||
|
Reference in New Issue
Block a user