[Fix] don't auto reload reports
This commit is contained in:
parent
bce07e7481
commit
2f0716e6ce
|
@ -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"
|
||||||
],
|
],
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue