[DE] Fix bug 56119
This commit is contained in:
parent
98991ae457
commit
c76fe90d8e
|
@ -1650,7 +1650,18 @@ define([
|
||||||
|
|
||||||
if (recents.length > 0 && diff) {
|
if (recents.length > 0 && diff) {
|
||||||
me.recentShapes = recents;
|
me.recentShapes = recents;
|
||||||
me.groups[0].groupStore.reset(me.recentShapes);
|
var resentsStore = new Common.UI.DataViewStore();
|
||||||
|
_.each(me.recentShapes, function (recent) {
|
||||||
|
var model = {
|
||||||
|
data: {shapeType: recent.data.shapeType},
|
||||||
|
tip: recent.tip,
|
||||||
|
allowSelected: recent.allowSelected,
|
||||||
|
selected: recent.selected,
|
||||||
|
groupName: recent.groupName
|
||||||
|
};
|
||||||
|
resentsStore.push(model);
|
||||||
|
});
|
||||||
|
me.groups[0].groupStore = resentsStore;
|
||||||
|
|
||||||
var store = new Common.UI.DataViewStore();
|
var store = new Common.UI.DataViewStore();
|
||||||
_.each(me.groups, function (group) {
|
_.each(me.groups, function (group) {
|
||||||
|
|
Loading…
Reference in a new issue