mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-05 12:15:14 -05:00
Trigger the recalculating event on null when the binding does not exist
This commit is contained in:
@@ -510,7 +510,7 @@ var ShinyApp = function() {
|
||||
addCustomMessageHandler('recalculating', function(message) {
|
||||
if (message.hasOwnProperty('name') && message.hasOwnProperty('status')) {
|
||||
var binding = this.$bindings[name];
|
||||
$(binding ? binding.el : document).trigger({
|
||||
$(binding ? binding.el : null).trigger({
|
||||
type: 'shiny:' + message.status
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user