mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Another fix for auto closing more info dialogs
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||||
VERSION = "8bb96a595e6f289fcfff343778765b42"
|
VERSION = "010d9683fa9d210abd199b3cde4edbc0"
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -41,8 +41,11 @@
|
|||||||
'tap': 'cardTapped',
|
'tap': 'cardTapped',
|
||||||
},
|
},
|
||||||
|
|
||||||
cardTapped: function() {
|
cardTapped: function(ev) {
|
||||||
|
ev.stopPropagation();
|
||||||
|
this.debounce('show-more-info-dialog', function() {
|
||||||
uiActions.showMoreInfoDialog(this.stateObj.entityId);
|
uiActions.showMoreInfoDialog(this.stateObj.entityId);
|
||||||
|
}.bind(this), 100);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
@@ -129,6 +129,10 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
changeEntityId: function(entityId) {
|
changeEntityId: function(entityId) {
|
||||||
|
if (entityId == this.entityId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.entityId = entityId;
|
this.entityId = entityId;
|
||||||
|
|
||||||
this.stateStoreChanged();
|
this.stateStoreChanged();
|
||||||
|
Reference in New Issue
Block a user