doUndoableTask

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5703 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-01-04 06:28:09 +00:00
parent 78dd6ffa74
commit 32fbba16ec

View File

@ -35,7 +35,7 @@ TreeStyleTabBrowserTabpanelDNDObserver.prototype = {
sv.setTreePref('tabbar.fixed.'+orient, false); sv.setTreePref('tabbar.fixed.'+orient, false);
} }
var current; var current;
window['piro.sakura.ne.jp'].operationHistory.addEntry( window['piro.sakura.ne.jp'].operationHistory.doUndoableTask(
function() { function() {
current = sv.currentTabbarPosition; current = sv.currentTabbarPosition;
sv.currentTabbarPosition = position; sv.currentTabbarPosition = position;