Skip to main content

record_popup_owner

Function record_popup_owner 

Source
fn record_popup_owner(
    state: &AppState,
    opener: &str,
    popup: &str,
    agent: Option<String>,
) -> Option<String>
Expand description

Give the popup pane popup to agent (the opener’s owner, if any), if the opener is still that agent’s; if the person took it over meanwhile, clear the owner popup was created with. Returns who drives the popup.