rem: type      = BookmarksUtils.getProperty(child, RDF_NS+"type", ds); 
add: type      = BookmarksUtils.getProperty(child, gRDF_NS+"type", ds); 
context: function updateOK(){  var selection = gBookmarkTree._selection;  var ds = gBookmarkTree.tree.database;  var url;  gUrls = [];  for (var i=0; i<selection.length; ++i) {    var type     = selection.type[i];// XXX protocol is broken since we have unique id...//    var protocol = selection.protocol[i];//    if ((type == "Bookmark" || type == "") && //        protocol != "find" && protocol != "javascript") {    if (type == "Bookmark" || type == "") {      url = BookmarksUtils.getProperty(selection.item[i], NC_NS+"URL", ds)      if (url)        gUrls.push(url);    } else if (type == "Folder" || type == "PersonalToolbarFolder") {      RDFC.Init(ds, selection.item[i]);      var children = RDFC.GetElements();      while (children.hasMoreElements()) {        var child = children.getNext().QueryInterface(kRDFRSCIID);        type      = BookmarksUtils.getProperty(child, RDF_NS+"type", ds);// XXX protocol is broken since we have unique id...//        protocol  = child.Value.split(":")[0];//        if (type == NC_NS+"Bookmark" && protocol != "find" && //            protocol != "javascript") {          if (type == NC_NS+"Bookmark") {          url = BookmarksUtils.getProperty(child, NC_NS+"URL", ds);          if (url)            gUrls.push(url);        }      }    }  }  gOK.disabled = gUrls.length == 0;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5d726a8d7b8ffd957682f360f58e73a7d277d96b/selectBookmark.js/clean/browser/components/bookmarks/content/selectBookmark.js