Skip to content

Commit

Permalink
Item14106: deal with firefox API change
Browse files Browse the repository at this point in the history
  • Loading branch information
cdot committed Jul 5, 2016
1 parent 5f1273b commit cc7583b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pub/System/WebDAVLinkPlugin/firefox/content/overlay.js
Expand Up @@ -41,12 +41,13 @@ var webdavlink = {
var appList = this.defaultExec;
try {
var prefs = Components.classes['@mozilla.org/preferences-service;1']
.getService(Components.interfaces.nsIPrefService);
appList = prefs.getCharPref('extensions.webdavlink.apps');
.getService(Components.interfaces.nsIPrefService)
.getBranch("extensions.webdavlink");
appList = prefs.getCharPref('apps');
// while we have prefs in hand.....
this.debug = prefs.getBoolPref("extensions.webdavlink.debug");
this.debug = prefs.getBoolPref("debug");
} catch (e) {
this.report("extensions.webdavlink.apps preference missing");
this.report("extensions.webdavlink preferences missing");
}
var apps = appList.split(';');
for (var i in apps) {
Expand Down

0 comments on commit cc7583b

Please sign in to comment.