/tg/ Station 13 - Modules - Types

code/datums/browser.dm

/proc/tg_alertDEPRECATED: USE tgui_alert(...) INSTEAD
/proc/oncloseRegisters the on-close verb for a browse window (client/verb/windowclose) this will be called when the close-button of a window is pressed.
/datum/verb_metadata/client/windowclosethe on-close client verb called when a browser popup window is closed after registering with proc/onclose() if a valid atom reference is supplied, call the atom's Topic() with "close=1" otherwise, just reset the client mob's machine var.