Any ideas how we can disable the regeneration question in TS 6+? Would you like to regenerate this file now? NO.. go away. thanks.
I've searched the manuals and I can't find anything about using the Save form api's to disable the regeneration questions. Am I missing something. I have also tried using onSave and onSaveValid and they don't seem to do anything as far as disabling the regeneration questions.
function disableRegenerateQuestion(rs) { var button = "Finish Button"; if(rs){ button = "Save Event"; } //alert("disableRegenerateQuestion invoked from "+button); var answer = false; //this confirmation is needed to prevent window from closing when the function is invoked from save button. answer = confirm("would you like to close this window(ok), or continue editing(cancel)?"); if(answer ){ top.hiddenFrameRunning = false; IWDatacapture.close(false); } return 0; } IWEventRegistry.addFormHandler("onSaveDone", disableRegenerateQuestion); IWEventRegistry.addFormHandler("onClose", disableRegenerateQuestion);