mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-16 22:25:28 +01:00
further fixing regressions
This commit is contained in:
parent
a8e426a2cd
commit
8b464112ad
7 changed files with 61 additions and 59 deletions
|
|
@ -794,9 +794,7 @@ var ProjectListPage = {
|
|||
var ContextListPage = {
|
||||
update_state_count: function(state, count) {
|
||||
$('#'+state+'-contexts-count').html(count);
|
||||
if (count==0) {
|
||||
ContextListPage.set_empty_message(state, true);
|
||||
}
|
||||
ContextListPage.set_empty_message(state, count==0);
|
||||
},
|
||||
update_all_states_count: function (active_count, hidden_count, closed_count) {
|
||||
$(["active", "hidden", "closed"]).each(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue