Merge commit '920df48d1d
' into 3.0
This commit is contained in:
commit
f6c3f58bc2
3 changed files with 1339 additions and 1398 deletions
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 fileURI = ph.newFileURI(file);
|
||||||
}
|
}
|
||||||
var channel = ioService.newChannelFromURI(fileURI);
|
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;
|
return channel;
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue