removing cant_close=True on this one, ultimately, its just viewing order is wrong, so no actual data/file issues - let it be persistent but able to be closed
This commit is contained in:
2
files.py
2
files.py
@@ -680,7 +680,7 @@ def view(id):
|
|||||||
eids=eids.rstrip(",")
|
eids=eids.rstrip(",")
|
||||||
# jic, sometimes we trip this, and rather than show broken pages / destroy
|
# jic, sometimes we trip this, and rather than show broken pages / destroy
|
||||||
if id not in eids:
|
if id not in eids:
|
||||||
SetFELog( message=f"ERROR: viewing an id, but its not in eids OPT={OPT}, id={id}, eids={eids}", level="danger", persistent=True, cant_close=True)
|
SetFELog( message=f"ERROR: viewing an id, but its not in eids OPT={OPT}, id={id}, eids={eids}", level="danger", persistent=True, cant_close=False)
|
||||||
msg="Sorry, viewing data is confused, cannot view this image now"
|
msg="Sorry, viewing data is confused, cannot view this image now"
|
||||||
if os.environ['ENV'] == "production":
|
if os.environ['ENV'] == "production":
|
||||||
msg += "Clearing out all states. This means browser back buttons will not work, please start a new tab and try again"
|
msg += "Clearing out all states. This means browser back buttons will not work, please start a new tab and try again"
|
||||||
|
|||||||
Reference in New Issue
Block a user