Skip to content

Commit faaaac9

Browse files
committed
restore in edit
1 parent 2a44c06 commit faaaac9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/bundle/Resources/public/js/CKEditor/link/ui/link-form-view.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ class IbexaLinkFormView extends View {
145145
this.setChoiceValue(this.classesView, ibexaLinkClasses);
146146
}
147147

148+
if (url.includes('ezlocation://')) {
149+
const locationId = url.replace('ezlocation://', '');
150+
151+
this.fetchSiteaccesses(locationId);
152+
}
153+
148154
Object.entries(ibexaLinkAttributes).forEach(([name, value]) => {
149155
const attributeView = this.attributeViews[`ibexaLink${name}`];
150156
const setValueMethod = this.setValueMethods[this.customAttributes[name].type];

0 commit comments

Comments
 (0)