Bug 482235 - missing semicolons, sorry.
authorMarco Bonardo <mbonardo@mozilla.com>
Thu, 12 Mar 2009 14:14:12 +0100
changeset 26096 709e55b2747d2aa0c2272f1e08f54b4dddd9398c
parent 26095 297c00e7245b1eba41a68bdea35ca4c9760c59e1
child 26097 13826ed071693f31f714d4be07df3be4098fc6b7
push idunknown
push userunknown
push dateunknown
bugs482235
milestone1.9.2a1pre
Bug 482235 - missing semicolons, sorry.
browser/components/places/content/menu.xml
browser/components/places/content/toolbar.xml
browser/components/places/content/utils.js
--- a/browser/components/places/content/menu.xml
+++ b/browser/components/places/content/menu.xml
@@ -816,17 +816,17 @@
           if (PlacesUtils.nodeIsLivemarkContainer(aNode)) {
             if (!menuitem.hasAttribute("livemark"))
               menuitem.setAttribute("livemark", "true");
             // If this is a livemark container check if the status menuitem has
             // to be added or removed.
             PlacesUIUtils.ensureLivemarkStatusMenuItem(menuitem.firstChild);
           }
           else if (PlacesUtils.nodeIsURI(aNode)) {
-              menuitem.setAttribute("scheme", PlacesUIUtils.guessUrlSchemeForUI(aNode.uri))
+              menuitem.setAttribute("scheme", PlacesUIUtils.guessUrlSchemeForUI(aNode.uri));
           }
         },
 
         itemReplaced:
         function PMV_itemReplaced(aParentNode, aOldNode, aNewNode, aIndex) {
           var popup = this._getPopupForContainer(aParentNode);
           if (!popup._built)
             return;
--- a/browser/components/places/content/toolbar.xml
+++ b/browser/components/places/content/toolbar.xml
@@ -215,17 +215,17 @@
               popup._resultNode = asContainer(aChild);
 #ifndef XP_MACOSX
               popup.setAttribute("context", "placesContext");
 #endif
               this._containerNodesMap.push({ resultNode: aChild,
                                              domNode: popup });
             }
             else if (PlacesUtils.nodeIsURI(aChild)) {
-              button.setAttribute("scheme", PlacesUIUtils.guessUrlSchemeForUI(aChild.uri))
+              button.setAttribute("scheme", PlacesUIUtils.guessUrlSchemeForUI(aChild.uri));
             }
           }
 
           button.node = aChild;
           button.node.viewIndex = 0;
           if (aBefore)
             this.insertBefore(button, aBefore);
           else
@@ -637,17 +637,17 @@
           if (PlacesUtils.nodeIsLivemarkContainer(aNode)) {
             if (!element.hasAttribute("livemark"))
               element.setAttribute("livemark", "true");
             // If this is a livemark container check if the status menuitem has
             // to be added or removed.
             PlacesUIUtils.ensureLivemarkStatusMenuItem(element.firstChild);
           }
           else if (PlacesUtils.nodeIsURI(aNode)) {
-            element.setAttribute("scheme", PlacesUIUtils.guessUrlSchemeForUI(aNode.uri))
+            element.setAttribute("scheme", PlacesUIUtils.guessUrlSchemeForUI(aNode.uri));
           }
         },
 
         itemReplaced:
         function TV_V_itemReplaced(aParentNode, aOldNode, aNewNode, aIndex) {
           if (aParentNode == this._self.getResultNode()) {
             var children = this._self.childNodes;
             for (var i = 0; i < children.length; i++) {
--- a/browser/components/places/content/utils.js
+++ b/browser/components/places/content/utils.js
@@ -1008,17 +1008,17 @@ var PlacesUIUtils = {
       var iconURI = aNode.icon;
       var iconURISpec = "";
       if (iconURI)
         iconURISpec = iconURI.spec;
 
       if (PlacesUtils.uriTypes.indexOf(type) != -1) {
         element = document.createElement("menuitem");
         element.className = "menuitem-iconic bookmark-item";
-        element.setAttribute("scheme", this.guessUrlSchemeForUI(aNode.uri))
+        element.setAttribute("scheme", this.guessUrlSchemeForUI(aNode.uri));
       }
       else if (PlacesUtils.containerTypes.indexOf(type) != -1) {
         element = document.createElement("menu");
         element.setAttribute("container", "true");
 
         if (aNode.type == Ci.nsINavHistoryResultNode.RESULT_TYPE_QUERY) {
           element.setAttribute("query", "true");
           if (PlacesUtils.nodeIsTagQuery(aNode))