Skip to content

Commit

Permalink
Unbind controls in htmlOutput before displaying error
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheng5 committed Mar 19, 2013
1 parent 3841d9e commit 9a1d378
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inst/www/shared/shiny.js
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,10 @@
find: function(scope) {
return $(scope).find('.shiny-html-output');
},
onValueError: function(el, err) {
exports.unbindAll(el);
this.renderError(el, err);
},
renderValue: function(el, data) {
exports.unbindAll(el);
$(el).html(data);
Expand Down

0 comments on commit 9a1d378

Please sign in to comment.