Skip to content

Commit 54f4d48

Browse files
authored
refresh and reload do not return a value.
1 parent dca3619 commit 54f4d48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎demo/code-demo/scripts/codesamples.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ function _Report_Reload() {
496496
// Reload the displayed report
497497
report.reload()
498498
.then(function (result) {
499-
Log.log(result);
499+
Log.logText("Reloaded.");
500500
})
501501
.catch(function (errors) {
502502
Log.log(errors);
@@ -513,7 +513,7 @@ function _Report_Refresh() {
513513
// Refresh the displayed report
514514
report.refresh()
515515
.then(function (result) {
516-
Log.log(result);
516+
Log.logText("Refreshed.");
517517
})
518518
.catch(function (errors) {
519519
Log.log(errors);

0 commit comments

Comments
 (0)