Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
fixed bug where focus was not kept after a data update
Browse files Browse the repository at this point in the history
  • Loading branch information
steren committed Feb 21, 2013
1 parent 23528fc commit 70acd42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/sleek.js
Expand Up @@ -522,7 +522,8 @@ function (Collection, DynamicContainer, Item, List, CardPanel, FadeInPanel, Fact
console.log(e.data);
var data = JSON.parse(e.data);

section.collection.add(data);
section.collection.add(data, {silent: true});
section.view.view.update(true);
}, false);

source.addEventListener('open', function(e) {
Expand Down

0 comments on commit 70acd42

Please sign in to comment.