Create a bookmark folder from dragged tree correctly on Firefox 13 and later #316
This commit is contained in:
parent
41a42fc106
commit
803286bbbb
@ -7,13 +7,13 @@
|
|||||||
// in dragstart event listener
|
// in dragstart event listener
|
||||||
window['piro.sakura.ne.jp'].tabsDragUtils.startTabsDrag(aEvent, aArrayOfTabs);
|
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
|
http://github.com/piroor/fxaddonlibs/blob/master/license.txt
|
||||||
original:
|
original:
|
||||||
http://github.com/piroor/fxaddonlibs/blob/master/tabsDragUtils.js
|
http://github.com/piroor/fxaddonlibs/blob/master/tabsDragUtils.js
|
||||||
*/
|
*/
|
||||||
(function() {
|
(function() {
|
||||||
const currentRevision = 17;
|
const currentRevision = 18;
|
||||||
|
|
||||||
if (!('piro.sakura.ne.jp' in window)) window['piro.sakura.ne.jp'] = {};
|
if (!('piro.sakura.ne.jp' in window)) window['piro.sakura.ne.jp'] = {};
|
||||||
|
|
||||||
@ -59,7 +59,7 @@
|
|||||||
'var doCopy =',
|
'var doCopy =',
|
||||||
'var tabsDataTransferProxy = dt = new window["piro.sakura.ne.jp"].tabsDragUtils.DOMDataTransferProxy(dt, insertionPoint); $&'
|
'var tabsDataTransferProxy = dt = new window["piro.sakura.ne.jp"].tabsDragUtils.DOMDataTransferProxy(dt, insertionPoint); $&'
|
||||||
).replace( // for Tree Style Tab (save tree structure to bookmarks)
|
).replace( // for Tree Style Tab (save tree structure to bookmarks)
|
||||||
'PlacesUIUtils.ptm.doTransaction(txn);',
|
/(PlacesUIUtils\.ptm|PlacesUtils\.transactionManager)\.doTransaction\(txn\);/,
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
if ('_tabs' in tabsDataTransferProxy &&
|
if ('_tabs' in tabsDataTransferProxy &&
|
||||||
'TreeStyleTabBookmarksService' in window)
|
'TreeStyleTabBookmarksService' in window)
|
||||||
|
Loading…
Reference in New Issue
Block a user