Fixed toast
This commit is contained in:
@@ -11,7 +11,7 @@ Template.featureDialog.events({
|
||||
"tap #deleteButton": function(event, instance){
|
||||
Features.softRemoveNode(instance.data.featureId);
|
||||
GlobalUI.deletedToast(instance.data.featureId, "Features", "Feature");
|
||||
GlobalUI.closeDetail();
|
||||
popDialogStack();
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -51,6 +51,8 @@
|
||||
</app-drawer>
|
||||
{{> yield}}
|
||||
</app-drawer-layout>
|
||||
<paper-toast id="global-toast" duration="5000"></paper-toast>
|
||||
<paper-toast id="global-toast" duration="5000">
|
||||
{{> Template.dynamic template=globalToastTemplate data=globalToastData }}
|
||||
</paper-toast>
|
||||
{{> dialogStack}}
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user