We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b17c265 + a8e5d57 commit f3d0498Copy full SHA for f3d0498
src/js/jquery.orgchart.js
@@ -27,6 +27,7 @@
27
'visibleLevel': 999,
28
'chartClass': '',
29
'exportButton': false,
30
+ 'exportButtonName': 'Export',
31
'exportFilename': 'OrgChart',
32
'exportFileextension': 'png',
33
'parentNodeSymbol': 'oci-leader',
@@ -127,7 +128,7 @@
127
128
var that = this;
129
var $exportBtn = $('<button>', {
130
'class': 'oc-export-btn' + (this.options.chartClass !== '' ? ' ' + this.options.chartClass : ''),
- 'text': 'Export',
131
+ 'text': this.options.exportButtonName,
132
'click': function(e) {
133
e.preventDefault();
134
that.export();
0 commit comments