-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* jExcel v4.2.2 | ||
* jExcel v4.2.3 | ||
* | ||
* Author: Paul Hodel <[email protected]> | ||
* Website: https://bossanova.uk/jexcel/ | ||
|
@@ -232,7 +232,7 @@ | |
noCellsSelected: 'No cells selected', | ||
}, | ||
// About message | ||
about:"jExcel CE Spreadsheet\nVersion 4.2.2\nAuthor: Paul Hodel <[email protected]>\nWebsite: https://bossanova.uk/jexcel/v3", | ||
about:"jExcel CE Spreadsheet\nVersion 4.2.3\nAuthor: Paul Hodel <[email protected]>\nWebsite: https://bossanova.uk/jexcel/v3", | ||
}; | ||
|
||
// Loading initial configuration from user | ||
|
@@ -1819,10 +1819,16 @@ console.log(ret); | |
var source = obj.options.columns[x].source; | ||
} | ||
|
||
// Do not change the original source | ||
var data = []; | ||
for (var j = 0; j < source.length; j++) { | ||
data.push(source[j]); | ||
} | ||
|
||
// Create editor | ||
var editor = createEditor('div'); | ||
var options = { | ||
data: source, | ||
data: data, | ||
multiple: obj.options.columns[x].multiple ? true : false, | ||
autocomplete: obj.options.columns[x].autocomplete || obj.options.columns[x].type == 'autocomplete' ? true : false, | ||
opened:true, | ||
|
@@ -5871,7 +5877,7 @@ console.log(ret); | |
|
||
// IE Compatibility | ||
if (window.navigator && window.navigator.msSaveOrOpenBlob) { | ||
window.navigator.msSaveOrOpenBlob(blob, options.csvFileName + '.csv'); | ||
window.navigator.msSaveOrOpenBlob(blob, obj.options.csvFileName + '.csv'); | ||
} else { | ||
// Download element | ||
var pom = document.createElement('a'); | ||
|