mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-09 06:04:58 -05:00
Don't show call when user cancels gadget
This commit is contained in:
@@ -849,7 +849,7 @@ runGadget <- function(app, server = NULL, port = getOption("shiny.port"),
|
||||
if (isTRUE(stopOnCancel)) {
|
||||
app <- decorateServerFunc(app, function(input, output, session) {
|
||||
observeEvent(input$cancel, {
|
||||
stopApp(stop("User cancel"))
|
||||
stopApp(stop("User cancel", call. = FALSE))
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user