@innovastudio/contentbuilder 1.0.61 → 1.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -45640,6 +45640,7 @@ class ColumnTool {
|
|
|
45640
45640
|
|
|
45641
45641
|
this.showHideLockIndicator(cell);
|
|
45642
45642
|
this.builder.element.applyBehavior(cell);
|
|
45643
|
+
this.columnMore.style.display = '';
|
|
45643
45644
|
e.preventDefault();
|
|
45644
45645
|
}); // Open Column Settings
|
|
45645
45646
|
|
|
@@ -59549,11 +59550,13 @@ class ContentBuilder {
|
|
|
59549
59550
|
} else if (url.toLowerCase().indexOf('youtube.com') !== -1 || url.toLowerCase().indexOf('vimeo.com') !== -1) {
|
|
59550
59551
|
this.lightbox.openExternalVideo(url, 'dark', color);
|
|
59551
59552
|
} else {
|
|
59552
|
-
|
|
59553
|
-
|
|
59553
|
+
if (url.indexOf('#') === 0) ; else {
|
|
59554
|
+
// Will go to the link
|
|
59555
|
+
const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
|
|
59554
59556
|
|
|
59555
|
-
|
|
59556
|
-
|
|
59557
|
+
if (!answer) {
|
|
59558
|
+
return false;
|
|
59559
|
+
}
|
|
59557
59560
|
}
|
|
59558
59561
|
|
|
59559
59562
|
window.location.href = url;
|
|
@@ -59672,20 +59675,31 @@ class ContentBuilder {
|
|
|
59672
59675
|
return false;
|
|
59673
59676
|
} else {
|
|
59674
59677
|
// Will go to the link
|
|
59675
|
-
|
|
59678
|
+
if (url.indexOf('#') === 0) ; else {
|
|
59679
|
+
const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
|
|
59676
59680
|
|
|
59677
|
-
|
|
59678
|
-
|
|
59679
|
-
|
|
59681
|
+
if (!answer) {
|
|
59682
|
+
e.preventDefault();
|
|
59683
|
+
return false;
|
|
59684
|
+
}
|
|
59680
59685
|
}
|
|
59681
59686
|
}
|
|
59682
59687
|
} else {
|
|
59683
|
-
|
|
59688
|
+
let url = link.getAttribute('href');
|
|
59684
59689
|
|
|
59685
|
-
if (!
|
|
59690
|
+
if (!url) {
|
|
59686
59691
|
e.preventDefault();
|
|
59687
59692
|
return false;
|
|
59688
59693
|
}
|
|
59694
|
+
|
|
59695
|
+
if (url.indexOf('#') === 0) ; else {
|
|
59696
|
+
const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
|
|
59697
|
+
|
|
59698
|
+
if (!answer) {
|
|
59699
|
+
e.preventDefault();
|
|
59700
|
+
return false;
|
|
59701
|
+
}
|
|
59702
|
+
}
|
|
59689
59703
|
}
|
|
59690
59704
|
}
|
|
59691
59705
|
} // e.preventDefault();
|