add:  if (gFields[i] == "microsummaryMenuList") { if (MicrosummaryPicker.enabled) { changed |= MicrosummaryPicker.commit(); MicrosummaryPicker.destroy(); } continue; } 
context: function Commit(){  var changed = false;  // Grovel through the fields to see if any of the values have  // changed. If so, update the RDF graph and force them to be saved  // to disk.  for (var i=0; i<gFields.length; ++i) {    var field = document.getElementById(gFields[i]);    if (! field)      continue;    // Get the new value as a literal, using 'null' if the value is empty.    var newValue = field.value;    if (gFields[i] == "webpanel")      newValue = field.checked ? "true" : undefined;     var oldValue = BMDS.GetTarget(gResource, gProperties[i], true);    if (oldValue)      oldValue = oldValue.QueryInterface(Components.interfaces.nsIRDFLiteral);    if (newValue && gFields[i] == "shortcut")      // shortcuts are always lowercased internally      newValue = newValue.toLowerCase();    else if (newValue && gFields[i] == "url") {      if (newValue.indexOf(":") < 0)        // we're dealing with the URL attribute;        // if a scheme isn't specified, use "http://"        newValue = "http://" + newValue;    }    if (newValue)      newValue = RDF.GetLiteral(newValue);    changed |= updateAttribute(gProperties[i], oldValue, newValue);    if (gFields[i] == "url" && oldValue && oldValue.Value != newValue.Value) {      // if the URL was updated, clear out the favicon      var icon = BMDS.GetTarget(gResource, RDF.GetResource(gNC_NS+"Icon"), true);      if (icon) BMDS.Unassert(gResource, RDF.GetResource(gNC_NS+"Icon"), icon);    }  }  if (changed) {    var remote = BMDS.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);    if (remote)      remote.Flush();  }  window.arguments[1].ok = true;  window.close();  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c5b8e2d95e4dfec4f4c95dfe37b3cf1a54bcbb82/bookmarksProperties.js/clean/browser/components/bookmarks/content/bookmarksProperties.js