mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Adds a cancel button to some inputs
- Teleport scrolls - The admin-pm verb - To add a ban(in the place where you put the ban reason) - When you edit/add a new note.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
target_ckey = new_ckey
|
||||
var/target_sql_ckey = sanitizeSQL(target_ckey)
|
||||
if(!notetext)
|
||||
notetext = input(usr,"Write your Note","Add Note") as message
|
||||
notetext = input(usr,"Write your Note","Add Note") as null|message
|
||||
if(!notetext)
|
||||
return
|
||||
notetext = sanitizeSQL(notetext)
|
||||
@@ -97,7 +97,7 @@
|
||||
target_ckey = query_find_note_edit.item[1]
|
||||
var/old_note = query_find_note_edit.item[2]
|
||||
var/adminckey = query_find_note_edit.item[3]
|
||||
var/new_note = input("Input new note", "New Note", "[old_note]") as message
|
||||
var/new_note = input("Input new note", "New Note", "[old_note]") as null|message
|
||||
if(!new_note)
|
||||
return
|
||||
new_note = sanitizeSQL(new_note)
|
||||
|
||||
Reference in New Issue
Block a user