 	return
 
 exports.ios_salt_update = ->
+	lastInputTime = new Date().getTime()
 	util.storage.set_salt $('#salt').val()
 
 exports.username_update = ->

			updater: (item) ->
				console.log "#{item} selected"
				site_update()
				delay_call ->
					load_site_options gen_passwd
				item
		}
		return

	return

exports.site_update = site_update = ->
	# update lastInputTime here, so the delayed gen_passwd will not trigger
	lastInputTime = new Date().getTime()
	site_option_state = OPTION_STATE.CHANGED

exports.site_keypress = (k) ->
