Add legacy option data format to silence a warning, though not needed client side

This commit is contained in:
Nathan Gray 2013-02-11 08:08:28 +00:00
parent c91c84ddfc
commit 98ad9dcd15

View File

@ -31,9 +31,15 @@ var et2_date = et2_inputWidget.extend({
},
"type": {
"ignore": false
},
"data_format": {
"ignore": true,
"description": "Format data is in. This is not used client-side because it's always a timestamp client side."
}
},
legacyOptions: ["data_format"],
init: function() {
this._super.apply(this, arguments);
@ -521,9 +527,15 @@ var et2_date_ro = et2_valueWidget.extend([et2_IDetachedDOM], {
},
"type": {
"ignore": false
},
"data_format": {
"ignore": true,
"description": "Format data is in. This is not used client-side because it's always a timestamp client side."
}
},
legacyOptions: ["data_format"],
/**
* Internal container for working easily with dates
*/