[Fix] don't auto reload reports
This commit is contained in:
parent
bce07e7481
commit
2f0716e6ce
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "strolch-wc-reports",
|
||||
"description": "Strolch WebComponent Reports",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"authors": [
|
||||
"Robert von Burg"
|
||||
],
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<link rel="import" href="../paper-tooltip/paper-tooltip.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-reports-behavior.html">
|
||||
|
@ -173,7 +174,7 @@
|
|||
</style>
|
||||
|
||||
<!-- Requests -->
|
||||
<iron-ajax auto
|
||||
<iron-ajax id="ajaxGetReports"
|
||||
url="[[baseRestPath]]/strolch/reports"
|
||||
content-type="application/json"
|
||||
handle-as="json"
|
||||
|
@ -425,6 +426,10 @@
|
|||
return true;
|
||||
},
|
||||
|
||||
reload: function () {
|
||||
this.$.ajaxGetReports.generateRequest();
|
||||
},
|
||||
|
||||
/* Private */
|
||||
|
||||
/* Public */
|
||||
|
|
Loading…
Reference in New Issue