Fix textboxes
This commit is contained in:
parent
b8c8649c94
commit
c58fc816a5
|
@ -150,7 +150,7 @@ end)
|
||||||
-- name = 'message',
|
-- name = 'message',
|
||||||
-- }
|
-- }
|
||||||
formspeclib.register_object('textbox', function(obj, safe_mode)
|
formspeclib.register_object('textbox', function(obj, safe_mode)
|
||||||
if obj.x or not obj.y or not obj.width or not obj.name then
|
if not obj.x or not obj.y or not obj.width or not obj.name then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
local x = formspeclib.escape(obj.x)
|
local x = formspeclib.escape(obj.x)
|
||||||
|
|
Reference in New Issue