//static void LLFloaterDirectory::performQueryOn2(const std::string& name, const std::string& search_text) { if (search_text.empty()) return; // We're done here. LLPanelDirBrowser* panel = sInstance->getChild<LLPanelDirBrowser>(name); panel->getChild<LLUICtrl>("name")->setValue(search_text); panel->performQuery(); }
// static // called from calssifieds, events, groups, land, people, and places void LLPanelDirBrowser::onClickSearchCore(void* userdata) { LLPanelDirBrowser* self = (LLPanelDirBrowser*)userdata; if (!self) return; self->resetSearchStart(); self->performQuery(); LLFloaterDirectory::sOldSearchCount++; }