Skip to content

Commit

Permalink
Fix: tabbar is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
robertSt7 authored and aryaantony92 committed Jul 13, 2023
1 parent 7425a07 commit 8846027
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 16 deletions.
3 changes: 2 additions & 1 deletion public/js/pimcore/asset/archive.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ pimcore.asset.archive = Class.create(pimcore.asset.asset, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
}
});
3 changes: 2 additions & 1 deletion public/js/pimcore/asset/audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ pimcore.asset.audio = Class.create(pimcore.asset.asset, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getEditPanel: function () {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/asset/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ pimcore.asset.document = Class.create(pimcore.asset.asset, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getEditPanel: function () {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/asset/folder.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ pimcore.asset.folder = Class.create(pimcore.asset.asset, {
}


return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

showContextMenu: function(domEl, event, node) {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/asset/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ pimcore.asset.image = Class.create(pimcore.asset.asset, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getEditPanel: function () {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/asset/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ pimcore.asset.text = Class.create(pimcore.asset.asset, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getEditPanel: function () {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/asset/unknown.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ pimcore.asset.unknown = Class.create(pimcore.asset.asset, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
}
});
3 changes: 2 additions & 1 deletion public/js/pimcore/asset/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ pimcore.asset.video = Class.create(pimcore.asset.asset, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getEditPanel: function () {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/document/email.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ pimcore.document.email = Class.create(pimcore.document.page_snippet, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getSaveData : function (only) {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/document/folder.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ pimcore.document.folder = Class.create(pimcore.document.document, {
}


return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getMetaInfo: function() {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/document/hardlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ pimcore.document.hardlink = Class.create(pimcore.document.document, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getLayoutForm: function () {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/document/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ pimcore.document.link = Class.create(pimcore.document.document, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getLayoutForm: function () {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/document/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ pimcore.document.page = Class.create(pimcore.document.page_snippet, {
items.push(this.tagAssignment.getLayout());
}

return pimcore.helpers.getTabBar({items: items, tabConfig: {margin: 0}});
this.tabbar = pimcore.helpers.getTabBar({items: items, tabConfig: {margin: 0}});
return this.tabbar;
},

getSaveData : function (only) {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/document/snippet.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ pimcore.document.snippet = Class.create(pimcore.document.page_snippet, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getSaveData : function (only) {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/object/folder.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ pimcore.object.folder = Class.create(pimcore.object.abstract, {
items.push(this.workflows.getLayout());
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getSaveData: function () {
Expand Down
3 changes: 2 additions & 1 deletion public/js/pimcore/object/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@ pimcore.object.object = Class.create(pimcore.object.abstract, {
}
}

return pimcore.helpers.getTabBar({items: items});
this.tabbar = pimcore.helpers.getTabBar({items: items});
return this.tabbar;
},

getLayoutToolbar: function () {
Expand Down

0 comments on commit 8846027

Please sign in to comment.