Load "PlacesUIUtils.jsm" correctly.

The path was changed on 2010-04-18 ( http://hg.mozilla.org/mozilla-central/rev/f60133d3febe , https://bugzilla.mozilla.org/show_bug.cgi?id=556739 ) but worked until recent versions. Why??
This commit is contained in:
Piro / YUKI Hiroshi 2013-03-06 01:42:37 +09:00
parent 7985a98620
commit 414a73c3ff

View File

@ -228,7 +228,7 @@ var TreeStyleTabBookmarksService = {
if (!('PlacesUIUtils' in window)) return;
if (!PlacesUIUtils.__treestyletab__done) {
var ns = Components.utils.import('resource://gre/modules/PlacesUIUtils.jsm', {});
var ns = Components.utils.import('resource:///modules/PlacesUIUtils.jsm', {});
var sv = this;
with (ns) {