contentreich-alfresco-datalists
contentreich-alfresco-datalists copied to clipboard
The Yahoo Calendars widgets are not initialized
@deas Hey
I'm trying the addon's latest version and I'm facing with a weird behaviour. I the first time I open a datalist, I see the form correctly rendered, with all the attributes, but if I click on the calendars' buttons in order to show the date picker, nothing happens. After that, if I execute a filter using any other attribute, the datalist items are filtered correctly, but the date pickers are still not shown. After executing the filter, if I refresh the page using the browser refresh or resending the url, then the form is re-rendered, but this time, the date pickers work.
I'm trying to find the solution for this, but I couldn't find it so far.... I'm almost all day long trying to fix this.
Do you mind trying to reproduce that?
Thank you.
@deas Good news.
I was able to "fix" the problem by changing the function bellow inside extended-datagrid.js:
onFilterFormTemplateLoaded: function ExtDataGrid_onFilterFormTemplateLoaded(response)
{
this.filterFormResponse = response;
//this._createFilterForm();
YAHOO.lang.later(200, this, _createFilterForm);
},
A dirty and ugly fix, but it's working now.
@deas we have found more problems with the calendar.
Calendar stops working if you use the datagrid, clicking in the columns' headers or paginating the dataset.
Alfresco Community 5.0.d, Current Master: Date pickers do not appear or only appear in some cases in the filters. They do show when editing/creating an list entry.