Skip to content

Commit fb6c00e

Browse files
committed
allow the url for the PrintTask to be passed as an option
1 parent 0891fad commit fb6c00e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

widgets/Report.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,12 @@ define([
160160
this.defaultStyles = options.defaultStyles;
161161
}
162162

163-
if (options.layout) {
164-
this.reportLayout = options.layout;
163+
if (options.printTaskURL) {
164+
this.printTaskURL = options.printTaskURL;
165+
}
166+
167+
if (options.reportLayout) {
168+
this.reportLayout = options.reportLayout;
165169
}
166170

167171
this.showLoadingMask();

0 commit comments

Comments
 (0)