本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
anoopmb
/
frappe
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
Merge pull request
#3574
from rohitwaghchaure/date_field_issue
[Fix] Date fields not changing when viewing another records
version-14
Makarand Bauskar
8 年之前
committed by
GitHub
父節點
55e266c865
15241d3f37
當前提交
2f8ee4f6f7
共有
1 個檔案被更改
,包括
1 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
frappe/public/js/frappe/form/control.js
+ 1
- 0
frappe/public/js/frappe/form/control.js
查看文件
@@ -609,6 +609,7 @@ frappe.ui.form.ControlDate = frappe.ui.form.ControlData.extend({
this.set_t_for_today();
},
set_formatted_input: function(value) {
this._super(value);
if(value
&& ((this.last_value && this.last_value !== value)
|| (!this.datepicker.selectedDates.length))) {
Write
Preview
Loading…
取消
儲存