diff --git a/index.ls b/index.ls index 3e7508e..31a733f 100644 --- a/index.ls +++ b/index.ls @@ -66,7 +66,10 @@ if(r.error) alert(r.error) else + { + observable.trigger("exit") alert("Thank") + } }).fail(function(){ alert("Service unavailable at the moment") }) diff --git a/info/sendmail.lua b/info/sendmail.lua index 5c819c9..522d46a 100644 --- a/info/sendmail.lua +++ b/info/sendmail.lua @@ -10,7 +10,7 @@ local content = "Contact request from:"..rq.name.."\n Email:"..rq.email.."\n"..r local cmd = 'echo "'..utils.escape(from..suject..content)..'"| sendmail '..to -print(cmd) +--print(cmd) local r = os.execute(cmd) if r then