[Fix] don't auto reload reports

This commit is contained in:
Robert von Burg 2018-09-10 10:43:12 +02:00
parent bce07e7481
commit 2f0716e6ce
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "strolch-wc-reports", "name": "strolch-wc-reports",
"description": "Strolch WebComponent Reports", "description": "Strolch WebComponent Reports",
"version": "0.1.2", "version": "0.1.3",
"authors": [ "authors": [
"Robert von Burg" "Robert von Burg"
], ],

View File

@ -11,6 +11,7 @@
<link rel="import" href="../paper-tooltip/paper-tooltip.html"> <link rel="import" href="../paper-tooltip/paper-tooltip.html">
<link rel="import" href="../vaadin-date-picker/vaadin-date-picker.html"> <link rel="import" href="../vaadin-date-picker/vaadin-date-picker.html">
<link rel="import" href="../strolch-wc-styles/strolch-wc-styles.html">
<link rel="import" href="../strolch-wc-localize-behavior/strolch-wc-localize-behavior.html"> <link rel="import" href="../strolch-wc-localize-behavior/strolch-wc-localize-behavior.html">
<link rel="import" href="strolch-wc-reports-behavior.html"> <link rel="import" href="strolch-wc-reports-behavior.html">
@ -173,7 +174,7 @@
</style> </style>
<!-- Requests --> <!-- Requests -->
<iron-ajax auto <iron-ajax id="ajaxGetReports"
url="[[baseRestPath]]/strolch/reports" url="[[baseRestPath]]/strolch/reports"
content-type="application/json" content-type="application/json"
handle-as="json" handle-as="json"
@ -425,6 +426,10 @@
return true; return true;
}, },
reload: function () {
this.$.ajaxGetReports.generateRequest();
},
/* Private */ /* Private */
/* Public */ /* Public */