mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Don't show a cancel button for input_boxes (#1476)
This commit is contained in:
parent
b85a85a722
commit
5b5fa3905f
2
lib.sh
2
lib.sh
@ -279,7 +279,7 @@ yesno_box_no() {
|
||||
|
||||
input_box() {
|
||||
[ -n "$2" ] && local SUBTITLE=" - $2"
|
||||
local RESULT && RESULT=$(whiptail --title "$TITLE$SUBTITLE" --inputbox "$1" "$WT_HEIGHT" "$WT_WIDTH" 3>&1 1>&2 2>&3)
|
||||
local RESULT && RESULT=$(whiptail --title "$TITLE$SUBTITLE" --nocancel --inputbox "$1" "$WT_HEIGHT" "$WT_WIDTH" 3>&1 1>&2 2>&3)
|
||||
echo "$RESULT"
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user