Commit b7b168b7 authored by Emmanuel Kasper's avatar Emmanuel Kasper Committed by Dietmar Maurer

ext5migrate: use 'refresh' event to reload components using DiffStore

'datachanged' event was not reloading the store with ExtJS5,
but 'refresh' does.
According to the API description 'refresh' seems to be what we need:
http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.data.AbstractStore-event-refresh
parent cb3cbbcd
...@@ -78,7 +78,7 @@ Ext.define('PVE.data.DiffStore', { ...@@ -78,7 +78,7 @@ Ext.define('PVE.data.DiffStore', {
first_load = false; first_load = false;
me.resumeEvents(); me.resumeEvents();
me.fireEvent('datachanged', me); me.fireEvent('refresh', me);
}); });
} }
}); });
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