Apply duration settings to gantt columns

This commit is contained in:
Nathan Gray 2015-03-10 21:11:36 +00:00
parent 4c82f2cee2
commit b1dbe2ab38

View File

@ -299,7 +299,8 @@ var et2_gantt = et2_inputWidget.extend([et2_IResizeable,et2_IInput],
}
if(this.widget && typeof this.widget == 'string')
{
this.widget = et2_createWidget(this.widget, {readonly:true}, gantt_widget);
var attrs = jQuery.extend({readonly:true}, this.widget_attributes||{});
this.widget = et2_createWidget(this.widget, attrs, gantt_widget);
}
if (this.widget)
{