Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed bug where focus was not kept after a data update

  • Loading branch information...
commit 70acd42d6acd04f568ffe654fe65107595373429 1 parent 23528fc
@steren steren authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  app/sleek.js
View
3  app/sleek.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.