mirror of
https://git.phreedom.club/localhost_frssoft/fediauth.git
synced 2024-11-17 21:49:17 +00:00
fixed formspec on enter
This commit is contained in:
parent
2f803a8105
commit
8e7a1f6af3
1
join.lua
1
join.lua
|
@ -11,6 +11,7 @@ local formspecfediadd = "size[9,10]" ..
|
|||
"label[1,7;Input your fediverse account handle]" ..
|
||||
"image[1.5,0.6;7,7;fediverse.png]" ..
|
||||
"field[1,9;4,1;fediverse_account_url;@nick@example.com;]" ..
|
||||
"field_close_on_enter[fediverse_account_url;false]" ..
|
||||
"button[5,8.7;3,1;submit;Send code]"
|
||||
|
||||
local feditempstore = {}
|
||||
|
|
|
@ -28,7 +28,8 @@ minetest.register_chatcommand("fediauth_on", {
|
|||
local formspec_account = "size[9,10]" ..
|
||||
"label[1,7;Input your fediverse account handle]" ..
|
||||
"image[1.5,0.6;7,7;fediverse.png]" ..
|
||||
"field[1,9;4,1;fediverse_account_url;@nick@example.com;]" ..
|
||||
"field[1,9;4,1;fediverse_account_url;@nick@example.com;]" ..
|
||||
"field_close_on_enter[fediverse_account_url;false]" ..
|
||||
"button[5,8.7;3,1;submit;Send code]"
|
||||
|
||||
minetest.show_formspec(name, FORMNAMEFEDI, formspec_account)
|
||||
|
|
Loading…
Reference in a new issue