525
edits
Line 87: | Line 87: | ||
= Removing Folders = | = Removing Folders = | ||
Removing a folder is pretty straight forward: | |||
<pre> | |||
var txn = new PlacesRemoveFolderTransaction(folderId); | |||
PlacesController.tm.doTransaction(txn); | |||
</pre> | |||
The implementation is a little more complex. Some of this functionality is implemented by the bookmarks service itself. For a complete description of how this is implemented, read [http://groups.google.com/group/mozilla.dev.apps.firefox/msg/215e88fcdb91ff25 this posting to dev-apps-firefox]. |
edits