summaryrefslogtreecommitdiff
path: root/assets/js/src/Popover.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src/Popover.js')
-rw-r--r--assets/js/src/Popover.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/js/src/Popover.js b/assets/js/src/Popover.js
index 6bf3ea7c..8d72dec8 100644
--- a/assets/js/src/Popover.js
+++ b/assets/js/src/Popover.js
@@ -14,7 +14,8 @@ Popover.prototype.open = function(link) {
$.get(link, function(content) {
$("body").append('<div id="popover-container"><div id="popover-content">' + content + '</div></div>');
- self.router.dispatch();
+ self.app.refresh();
+ self.router.dispatch(this.app);
self.afterOpen();
});
};