Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit fe2337a0 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Improve RowHistoryData.setHistoryData.

parent 75342a60
......@@ -158,11 +158,22 @@ Ext.define("Event.grid.RowHistoryData", {
setHistoryData: function (value) {
"use strict";
var me = this,
events = me.eventStore,
idEvent= me.historyId_events,
cfg = Event.getHistoryDataConfig(events, idEvent);
var me= this,
events, idEvent, cfg;
if (me.readOnly) {
} else {
events = me.eventStore;
idEvent= me.historyId_events;
me.setSource(value, cfg.sourceConfig);
if (idEvent === undefined) {
throw "historyId_events is undefined, a bug in ExtJS 6.2.0 ?";
cfg = Event.getHistoryDataConfig(events, idEvent);
me.setSource(value, cfg.sourceConfig);
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