make bookmarks stop disappearing when a user unselects a microsummary (i.e. goes back to the static page title)

patch by Simon B��nzli
bug=342463
r=myk
This commit is contained in:
myk%mozilla.org 2006-06-23 06:04:46 +00:00
Родитель 09b61878c7
Коммит ab90d1c1aa
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -655,6 +655,11 @@ MicrosummaryService.prototype = {
this._resource(FIELD_RDF_TYPE),
this._resource(VALUE_MICSUM_BOOKMARK),
this._resource(VALUE_NORMAL_BOOKMARK));
// If we're clearing a field that could affect this bookmark's label,
// then force all bookmark trees to rebuild from scratch.
if (fieldName == FIELD_MICSUM_GEN_URI || fieldName == FIELD_GENERATED_TITLE)
this._forceBookmarkTreesRebuild();
},
_hasField: function MSS__hasField(bookmarkID, fieldName) {