From 803286bbbb8a8e7261b68fbdd8fd1d3717d23b19 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Sun, 29 Jul 2012 00:58:28 +0900 Subject: [PATCH] Create a bookmark folder from dragged tree correctly on Firefox 13 and later #316 --- content/treestyletab/res/tabsDragUtils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/treestyletab/res/tabsDragUtils.js b/content/treestyletab/res/tabsDragUtils.js index 128e1425..77e57bab 100644 --- a/content/treestyletab/res/tabsDragUtils.js +++ b/content/treestyletab/res/tabsDragUtils.js @@ -7,13 +7,13 @@ // in dragstart event listener window['piro.sakura.ne.jp'].tabsDragUtils.startTabsDrag(aEvent, aArrayOfTabs); - license: The MIT License, Copyright (c) 2010-2011 SHIMODA "Piro" Hiroshi + license: The MIT License, Copyright (c) 2010-2012 YUKI "Piro" Hiroshi http://github.com/piroor/fxaddonlibs/blob/master/license.txt original: http://github.com/piroor/fxaddonlibs/blob/master/tabsDragUtils.js */ (function() { - const currentRevision = 17; + const currentRevision = 18; if (!('piro.sakura.ne.jp' in window)) window['piro.sakura.ne.jp'] = {}; @@ -59,7 +59,7 @@ 'var doCopy =', 'var tabsDataTransferProxy = dt = new window["piro.sakura.ne.jp"].tabsDragUtils.DOMDataTransferProxy(dt, insertionPoint); $&' ).replace( // for Tree Style Tab (save tree structure to bookmarks) - 'PlacesUIUtils.ptm.doTransaction(txn);', + /(PlacesUIUtils\.ptm|PlacesUtils\.transactionManager)\.doTransaction\(txn\);/,