mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
flush the ds after adding a bookmark
This commit is contained in:
parent
c16bd86d61
commit
475836bd57
@ -129,6 +129,11 @@ function onOK()
|
||||
target = BookmarksUtils.getSelectionFromResource(rFolder);
|
||||
target = BookmarksUtils.getTargetFromSelection(target);
|
||||
BookmarksUtils.insertSelection("newbookmark", selection, target);
|
||||
// in insertSelection, the ds flush is delayed. It will never be performed,
|
||||
// since this dialog is destroyed before.
|
||||
// We have to flush manually
|
||||
var remoteDS = BMDS.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);
|
||||
remoteDS.Flush();
|
||||
}
|
||||
|
||||
function getNormalizedURL(url)
|
||||
|
Loading…
Reference in New Issue
Block a user