Commit 2c1365b9 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update HistoryContextMenu to allow empty date.

parent 33be23d7
...@@ -97,12 +97,12 @@ Ext.define("Event.grid.plugin.HistoryContextMenu", { ...@@ -97,12 +97,12 @@ Ext.define("Event.grid.plugin.HistoryContextMenu", {
panelCfg = { panelCfg = {
html: me.textSplitMsg, html: me.textSplitMsg,
itemId: "splitmsg", itemId: "splitmsg",
padding: 5, padding: 5
}; };
formCfg = { formCfg = {
items: [{ items: [{
allowBlank: false, allowBlank: true,
altFormats: "", altFormats: "",
fieldLabel: me.textEnterNewDate, fieldLabel: me.textEnterNewDate,
format: "Y-m-d", format: "Y-m-d",
...@@ -112,9 +112,6 @@ Ext.define("Event.grid.plugin.HistoryContextMenu", { ...@@ -112,9 +112,6 @@ Ext.define("Event.grid.plugin.HistoryContextMenu", {
xtype: "datefield" xtype: "datefield"
}], }],
buttons: [{ buttons: [{
// Validation is not working ?
// formBind: true,
// disabled: true,
itemId: "closesplitaction", itemId: "closesplitaction",
text: "OK" text: "OK"
}, { }, {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment