Make resolveURL available to translators (#2101)
This commit is contained in:
parent
47f897fe8c
commit
e285415451
1 changed files with 4 additions and 0 deletions
|
@ -386,6 +386,10 @@ Zotero.Utilities.Translate.prototype.urlToProper = function(url) {
|
|||
return url;
|
||||
};
|
||||
|
||||
Zotero.Utilities.Translate.prototype.resolveURL = function (url, dontUseProxy) {
|
||||
return this._translate.resolveURL(url, dontUseProxy);
|
||||
};
|
||||
|
||||
Zotero.Utilities.Translate.prototype.__exposedProps__ = {"HTTP":"r"};
|
||||
for(var j in Zotero.Utilities.Translate.prototype) {
|
||||
if(typeof Zotero.Utilities.Translate.prototype[j] === "function" && j[0] !== "_" && j != "Translate") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue