diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/app.css | 4 | ||||
-rw-r--r-- | assets/js/board.js | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/assets/css/app.css b/assets/css/app.css index 93321c2e..274c11a3 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -523,6 +523,10 @@ div.task a:hover { text-decoration: underline; } +div.task-title a { + font-weight: normal; +} + #infos, div.task { position: relative; diff --git a/assets/js/board.js b/assets/js/board.js index 501c39c3..3c5ec51c 100644 --- a/assets/js/board.js +++ b/assets/js/board.js @@ -147,9 +147,10 @@ try { var response = JSON.parse(this.responseText); - if (response.result == true) { - - // TODO: don't refresh the whole page! + if (response.result == false) { + window.alert('Unable to update the board'); + } + else if (response.refresh == true) { window.location = "?controller=board&action=show&project_id=" + projectId; } } |