toggle traditional submit
This commit is contained in:
parent
d955499227
commit
abc63bc166
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ class RoleList extends Buttons{
|
||||||
const form=option.addSubForm("Display settings",()=>{},{
|
const form=option.addSubForm("Display settings",()=>{},{
|
||||||
fetchURL:this.info.api+"/guilds/"+this.guild.id+"/roles/"+this.curid,
|
fetchURL:this.info.api+"/guilds/"+this.guild.id+"/roles/"+this.curid,
|
||||||
method:"PATCH",
|
method:"PATCH",
|
||||||
headers:this.headers
|
headers:this.headers,
|
||||||
|
traditionalSubmit:true
|
||||||
});
|
});
|
||||||
form.addTextInput("Role Name:","name",{
|
form.addTextInput("Role Name:","name",{
|
||||||
initText:role.name
|
initText:role.name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue