forked from extern/egroupware
Fix addressing wrong href in previous commit #52368
This commit is contained in:
parent
3987e3f033
commit
ba19d9dab9
@ -881,7 +881,7 @@
|
|||||||
}
|
}
|
||||||
else if (isTarget(options.downloadClass)) {
|
else if (isTarget(options.downloadClass)) {
|
||||||
// Click on "download" control
|
// Click on "download" control
|
||||||
if (typeof event.target.download_href != 'undefined')
|
if (this.list[this.getIndex()] && typeof this.list[this.getIndex()].download_href != 'undefined')
|
||||||
{
|
{
|
||||||
event.target.href = this.list[this.getIndex()].download_href;
|
event.target.href = this.list[this.getIndex()].download_href;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user