When the print preview is finished, restore the tab bar at first.

If there is All-in-One Sidebar, finishing process of print preview raises an exception and TST failed to restore the tab bar. ( http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2797 , http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2803 )
This commit is contained in:
SHIMODA Hiroshi 2010-12-03 15:20:26 +09:00
parent cc7a15d2ee
commit 1206379c0a

View File

@ -636,8 +636,8 @@ var TreeStyleTabService = {
'{ TreeStyleTabService.onPrintPreviewEnter();'
));
eval('PrintUtils.exitPrintPreview = '+PrintUtils.exitPrintPreview.toSource().replace(
/(\}\)?)$/,
'TreeStyleTabService.onPrintPreviewExit(); $1'
'{',
'{ TreeStyleTabService.onPrintPreviewExit();'
));
}