# in pdf name not working
This commit is contained in:
parent
c5d481ee78
commit
1d5fdf35ec
3 changed files with 7 additions and 2 deletions
|
|
@ -2625,6 +2625,11 @@ pandora.openURL = function(url) {
|
|||
}
|
||||
};
|
||||
|
||||
pandora.safePDFName = function(name) {
|
||||
name = name.replace('?', '_').replace('#', '_');
|
||||
return name;
|
||||
};
|
||||
|
||||
pandora.saveURL = function(url, name) {
|
||||
var link = document.createElement('a');
|
||||
if (typeof link.download === 'string') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue