summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/test_popup.lua
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/scripts/lua/test_popup.lua')
-rw-r--r--indra/newview/scripts/lua/test_popup.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/scripts/lua/test_popup.lua b/indra/newview/scripts/lua/test_popup.lua
index e48f89c3a7..156c09c78f 100644
--- a/indra/newview/scripts/lua/test_popup.lua
+++ b/indra/newview/scripts/lua/test_popup.lua
@@ -1,4 +1,5 @@
-popup = require 'popup'
+UI = require 'UI'
+popup = UI.popup
response = popup:alert('This just has a Close button')
response = popup:alertOK(string.format('You said "%s", is that OK?', next(response)))