Merge commit '920df48d1da4f9bf33bf1a01c60a2131e589d29c' into 3.0
This commit is contained in:
commit
f6c3f58bc2
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -819,6 +819,11 @@ function ChromeExtensionHandler() {
|
|||
var fileURI = ph.newFileURI(file);
|
||||
}
|
||||
var channel = ioService.newChannelFromURI(fileURI);
|
||||
//set originalURI so that it seems like we're serving from zotero:// protocol
|
||||
//this is necessary to allow url() links to work from within css files
|
||||
//otherwise they try to link to files on the file:// protocol, which is not allowed
|
||||
channel.originalURI = uri;
|
||||
|
||||
return channel;
|
||||
}
|
||||
catch (e) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user