Make paperwork popups use UID as a window id.

This commit is contained in:
moxian
2019-11-06 04:40:16 +00:00
parent 8b9f663203
commit a9c19ebb6b
5 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -2153,7 +2153,7 @@
var/obj/pageobj = B.contents[page]
data += "<A href='?src=[UID()];AdminFaxViewPage=[page];paper_bundle=\ref[B]'>Page [page] - [pageobj.name]</A><BR>"
usr << browse(data, "window=[B.name]")
usr << browse(data, "window=PaperBundle[B.UID()]")
else
to_chat(usr, "<span class='warning'>The faxed item is not viewable. This is probably a bug, and should be reported on the tracker: [fax.type]</span>")