Reduce the sleep cycle when using dialog(1) to 1-second.
This commit is contained in:
parent
7bac4bd22a
commit
160c413360
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263146
@ -217,7 +217,7 @@ f_group_add()
|
||||
f_dialog_title "$title"
|
||||
$alert "$msg_group_added"
|
||||
f_dialog_title_restore
|
||||
[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 2
|
||||
[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 1
|
||||
|
||||
return $SUCCESS
|
||||
}
|
||||
@ -305,7 +305,7 @@ f_group_delete()
|
||||
f_dialog_title "$title"
|
||||
$alert "$msg_group_deleted"
|
||||
f_dialog_title_restore
|
||||
[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 2
|
||||
[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 1
|
||||
|
||||
return $SUCCESS
|
||||
}
|
||||
@ -473,7 +473,7 @@ f_group_edit()
|
||||
f_dialog_title "$title"
|
||||
$alert "$msg_group_updated"
|
||||
f_dialog_title_restore
|
||||
[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 2
|
||||
[ "$no_confirm" -a "$USE_DIALOG" ] && sleep 1
|
||||
|
||||
return $SUCCESS
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user