Another fix for auto closing more info dialogs

This commit is contained in:
Paulus Schoutsen 2015-06-16 23:11:42 -07:00
parent 487c9e1e72
commit bc6def277e
5 changed files with 22 additions and 8 deletions

View File

@ -1,2 +1,2 @@
""" DO NOT MODIFY. Auto-generated by build_frontend script """
VERSION = "8bb96a595e6f289fcfff343778765b42"
VERSION = "010d9683fa9d210abd199b3cde4edbc0"

File diff suppressed because one or more lines are too long

View File

@ -41,8 +41,11 @@
'tap': 'cardTapped',
},
cardTapped: function() {
uiActions.showMoreInfoDialog(this.stateObj.entityId);
cardTapped: function(ev) {
ev.stopPropagation();
this.debounce('show-more-info-dialog', function() {
uiActions.showMoreInfoDialog(this.stateObj.entityId);
}.bind(this), 100);
},
});
})();

View File

@ -129,6 +129,10 @@
},
changeEntityId: function(entityId) {
if (entityId == this.entityId) {
return;
}
this.entityId = entityId;
this.stateStoreChanged();

@ -1 +1 @@
Subproject commit 48cbca40dda47dba296e764fc4c9157652dbbbf1
Subproject commit 5a7165b272fe2ed3e1b1432e2e621c3b971cc4bf