Fix checkbox selection on notes list
This commit is contained in:
parent
59a79b1cee
commit
0fe1f4928d
1 changed files with 6 additions and 3 deletions
|
@ -214,7 +214,7 @@ function rcube_kolab_notes_ui(settings)
|
||||||
edit_note(note.uid, 'edit');
|
edit_note(note.uid, 'edit');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
reset_view();
|
reset_view(true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
function(){
|
function(){
|
||||||
|
@ -1170,7 +1170,7 @@ function rcube_kolab_notes_ui(settings)
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function reset_view()
|
function reset_view(list)
|
||||||
{
|
{
|
||||||
close_history_dialog();
|
close_history_dialog();
|
||||||
me.selected_note = null;
|
me.selected_note = null;
|
||||||
|
@ -1181,7 +1181,10 @@ function rcube_kolab_notes_ui(settings)
|
||||||
$(rcmail.gui_objects.notesdetailview).hide();
|
$(rcmail.gui_objects.notesdetailview).hide();
|
||||||
$(rcmail.gui_objects.notesattachmentslist).html('');
|
$(rcmail.gui_objects.notesattachmentslist).html('');
|
||||||
rcmail.enable_command('save', false);
|
rcmail.enable_command('save', false);
|
||||||
rcmail.triggerEvent('show-list');
|
|
||||||
|
if (!list) {
|
||||||
|
rcmail.triggerEvent('show-list');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue