Add infos into target window
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / ring_window.lua
blob59ed3c745edf500c9820a1b0d4e66fe8a3d779ea
1 -- go to the home page of the ring window
3 function browseRingWindowHomePage()
4 local adminWindow = getUI("ui:interface:r2ed_ring_window")
5 if adminWindow then
6 adminWindow:find("ring_page"):browse(getMainPageURL() .. "?ingame=1&charSlot=" .. getCharSlot())
7 -- adminWindow:find("admin_web_page"):browse("http://r2linux03/ring/web_start.php?ingame=1")
8 end
9 end
11 local firstBrowseDone = false
12 function onRingWindowShown()
13 if not firstBrowseDone then
14 browseRingWindowHomePage()
15 firstBrowseDone = true
16 end
17 end
19 -- VERSION --
20 RYZOM_RING_WINDOW_VERSION = 324