本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
anoopmb
/
frappe
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
fix to contact page
version-14
Rushabh Mehta
11 年之前
父節點
05dced9dbd
當前提交
f6c942eb55
共有
2 個檔案被更改
,包括
2 行新增
和
4 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
frappe/templates/pages/contact.py
+1
-1
frappe/website/js/website.js
+ 1
- 3
frappe/templates/pages/contact.py
查看文件
@@ -45,6 +45,4 @@ def send_message(subject="Website Query", message="", sender=""):
from frappe.utils.email_lib import sendmail
sendmail(forward_to_email, sender, message, subject)
frappe.response.status = "okay"
return True
return "okay"
+ 1
- 1
frappe/website/js/website.js
查看文件
@@ -158,7 +158,7 @@ $.extend(frappe, {
send_message: function(opts, btn) {
return frappe.call({
type: "POST",
method: "frappe.
website.doctype.contact_us_settings.
templates.pages.contact.send_message",
method: "frappe.templates.pages.contact.send_message",
btn: btn,
args: opts,
callback: opts.callback
Write
Preview
Loading…
取消
儲存