Bug 1083376 - Fix for typeo error in browserPlacesViews.js, regression from bug 1068671. r=mak
authorJim Mathies <jmathies@mozilla.com>
Thu, 16 Oct 2014 14:28:50 -0500
changeset 210814 a5f4b36c2cba99feba390c8a3ce4e318675b8d9e
parent 210813 a5208bb3c5dad3801636de4d0e2468e87c8f6af0
child 210815 53d8fbf54227d012ac0a88c49de6bd783fa04c35
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersmak
bugs1083376, 1068671
milestone36.0a1
Bug 1083376 - Fix for typeo error in browserPlacesViews.js, regression from bug 1068671. r=mak
browser/components/places/content/browserPlacesViews.js
--- a/browser/components/places/content/browserPlacesViews.js
+++ b/browser/components/places/content/browserPlacesViews.js
@@ -1371,17 +1371,17 @@ PlacesToolbar.prototype = {
       return null;
 
     let dropPoint = { ip: null, beforeIndex: null, folderElt: null };
     let elt = aEvent.target;
     if (elt._placesNode && elt != this._rootElt &&
         elt.localName != "menupopup") {
       let eltRect = elt.getBoundingClientRect();
       let eltIndex = Array.indexOf(this._rootElt.childNodes, elt);
-      if (PlacesUIUtils.nodeIsFolder(elt._placesNode) &&
+      if (PlacesUtils.nodeIsFolder(elt._placesNode) &&
           !PlacesUIUtils.isContentsReadOnly(elt._placesNode)) {
         // This is a folder.
         // If we are in the middle of it, drop inside it.
         // Otherwise, drop before it, with regards to RTL mode.
         let threshold = eltRect.width * 0.25;
         if (this.isRTL ? (aEvent.clientX > eltRect.right - threshold)
                        : (aEvent.clientX < eltRect.left + threshold)) {
           // Drop before this folder.