|
@@ -389,9 +389,9 @@ var autoSaveTabList = (function(){ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function enableTimer(sec){ |
|
|
|
|
|
|
|
|
function enableTimer(ev, sec){ |
|
|
sec = sec || default_timer_interval; |
|
|
sec = sec || default_timer_interval; |
|
|
// __timer = window.setInterval(saveCurrentList, sec * 1000); |
|
|
|
|
|
|
|
|
__timer = window.setInterval(saveCurrentList, sec * 1000); |
|
|
display.showPopup("AutoSaveTabList", |
|
|
display.showPopup("AutoSaveTabList", |
|
|
"Auto save enabled for every " + sec.toString() + " sec"); |
|
|
"Auto save enabled for every " + sec.toString() + " sec"); |
|
|
} |
|
|
} |
|
|