File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -806,27 +806,3 @@ def on_restored(
806806 ) -> CancelCallback :
807807 # Provide a no-op function within ExpressStub
808808 return lambda : None
809-
810-
811- # #' Display a modal dialog for bookmarking
812- # #'
813- # #' This is a wrapper function for [urlModal()] that is automatically
814- # #' called if an application is bookmarked but no other [onBookmark()]
815- # #' callback was set. It displays a modal dialog with the bookmark URL, along
816- # #' with a subtitle that is appropriate for the type of bookmarking used ("url"
817- # #' or "server").
818- # #'
819- # #' @param url A URL to show in the modal dialog.
820- # #' @export
821- # showBookmarkUrlModal <- function(url) {
822- # store <- getShinyOption("bookmarkStore", default = "")
823- # if (store == "url") {
824- # subtitle <- "This link stores the current state of this application."
825- # } else if (store == "server") {
826- # subtitle <- "The current state of this application has been stored on the server."
827- # } else {
828- # subtitle <- NULL
829- # }
830-
831- # showModal(urlModal(url, subtitle = subtitle))
832- # }
You can’t perform that action at this time.
0 commit comments