summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/App.js3
-rw-r--r--assets/js/src/Board.js2
-rw-r--r--assets/js/src/Popover.js3
3 files changed, 5 insertions, 3 deletions
diff --git a/assets/js/src/App.js b/assets/js/src/App.js
index 02aa7693..7651b3ec 100644
--- a/assets/js/src/App.js
+++ b/assets/js/src/App.js
@@ -36,6 +36,7 @@ App.prototype.listen = function() {
this.dropdown.listen();
this.search.listen();
this.task.listen();
+ this.swimlane.listen();
this.search.focus();
this.taskAutoComplete();
this.datePicker();
@@ -124,6 +125,8 @@ App.prototype.datePicker = function() {
// timeFormat: 'h:mm tt',
constrainInput: false
});
+
+ $(".hasDatepicker").on("blur", function(e) { $(this).datepicker("hide"); });
};
App.prototype.taskAutoComplete = function() {
diff --git a/assets/js/src/Board.js b/assets/js/src/Board.js
index dee1a758..b98aa366 100644
--- a/assets/js/src/Board.js
+++ b/assets/js/src/Board.js
@@ -5,7 +5,6 @@ function Board(app) {
Board.prototype.execute = function() {
this.app.swimlane.refresh();
- this.app.swimlane.listen();
this.restoreColumnViewMode();
this.compactView();
this.columnScrolling();
@@ -84,7 +83,6 @@ Board.prototype.refresh = function(data) {
this.app.refresh();
this.app.swimlane.refresh();
- this.app.swimlane.listen();
this.columnScrolling();
this.app.hideLoadingIcon();
this.listen();
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();
});
};