|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
return objectend TRADING_HOUSE_SEARCH_HISTORY_KEYBOARD_FRAGMENT:RegisterCallback("StateChange", function(_, newState) if newState == SCENE_FRAGMENT_SHOWING then elseif newState == SCENE_FRAGMENT_HIDING then end end) if newState == SCENE_FRAGMENT_SHOWING then end end) end end)endlocal SEARCH_HISTORY_ROW_DATA = 1 if not rowData.formattedSearchTableDescription then rowData.formattedSearchTableDescription = TRADING_HOUSE_SEARCH:GenerateSearchTableShortDescription(rowData.searchTable) end rowControl.rowData = rowData end ZO_ScrollList_AddDataType(self.list, SEARCH_HISTORY_ROW_DATA, "ZO_TradingHouseSearchHistoryRow_Keyboard", 60, SetupHistoryRow)end local historyData = {searchTable = searchEntry.searchTable, formattedSearchTableDescription = formattedString} endend if rowControl then return rowControl.rowData.searchTable end return nilendend -- Jump to top of list, where the current search now residesend SetTooltipText(InformationTooltip, TRADING_HOUSE_SEARCH:GenerateSearchTableDescription(rowControl.rowData.searchTable))endend |