Script Error in Save Draft Window

Script Error in Save Draft Window

When I click 'Save Draft', I am getting some weird script error like CurFolId is null or not an object. See attachment.
 
--Deepak