RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
454 stars 77 forks source link

Bug: updating boxes #94

Closed amar00k closed 3 years ago

amar00k commented 3 years ago

Updating boxes doesn't work as intended due to a bug in shinydashboardPlus.js lines 649-651:

$(el).parent().find("script[data-for='" + el.id + "']").replaceWith( '<script type="application/json" data-for="mybox">' + JSON.stringify(config) + '</script>' )

Should be replaced by:

$(el).parent().find("script[data-for='" + el.id + "']").replaceWith( '<script type="application/json" data-for="' + el.id + '">' + JSON.stringify(config) + '</script>' )

DivadNojnarg commented 3 years ago

Well spotted! Thanks