Fix regressions

This commit is contained in:
Frederic Guillot 2015-10-19 22:47:45 -04:00
parent 039baacaa0
commit 5d15075223
5 changed files with 7 additions and 5 deletions

View File

@ -2,7 +2,7 @@
namespace Kanboard\Model;
use use PicoDb\Database;
use PicoDb\Database;
/**
* Project Daily Stats

File diff suppressed because one or more lines are too long

View File

@ -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() {

View File

@ -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();

View File

@ -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();
});
};