Skip to content
Code-Schnipsel Gruppen Projekte
Commit 4af20266 erstellt von gerd's avatar gerd
Dateien durchsuchen

fix: arrows and navigation fixed

Übergeordneter 12dd5421
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
...@@ -63,6 +63,9 @@ define('package/quiqqer/bricks/bin/guides/General', [ ...@@ -63,6 +63,9 @@ define('package/quiqqer/bricks/bin/guides/General', [
Bricks.addStep({ Bricks.addStep({
title : QUILocale.get(lg, 'tour.general.bricks.Step1.Title'), title : QUILocale.get(lg, 'tour.general.bricks.Step1.Title'),
text : QUILocale.get(lg, 'tour.general.bricks.Step2.Text'), text : QUILocale.get(lg, 'tour.general.bricks.Step2.Text'),
tetherOptions: {
constraints: null // this disables pinning (which breaks the arrows)
},
buttons : false, buttons : false,
attachTo: { attachTo: {
element: function () { element: function () {
...@@ -244,7 +247,7 @@ define('package/quiqqer/bricks/bin/guides/General', [ ...@@ -244,7 +247,7 @@ define('package/quiqqer/bricks/bin/guides/General', [
element: function () { element: function () {
return BrickSettings.getElm().getElement('[name="information"]') return BrickSettings.getElm().getElement('[name="information"]')
}, },
on : 'right' on : 'left'
}, },
buttons : { buttons : {
text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'), text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'),
...@@ -262,7 +265,7 @@ define('package/quiqqer/bricks/bin/guides/General', [ ...@@ -262,7 +265,7 @@ define('package/quiqqer/bricks/bin/guides/General', [
element: function () { element: function () {
return BrickSettings.getElm().getElement('[name="settings"]') return BrickSettings.getElm().getElement('[name="settings"]')
}, },
on : 'right' on : 'left'
}, },
buttons : { buttons : {
text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'), text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'),
...@@ -394,7 +397,7 @@ define('package/quiqqer/bricks/bin/guides/General', [ ...@@ -394,7 +397,7 @@ define('package/quiqqer/bricks/bin/guides/General', [
element: function () { element: function () {
return BrickSettings.getElm().getElement('[name="extra"]') return BrickSettings.getElm().getElement('[name="extra"]')
}, },
on : 'right' on : 'left'
}, },
buttons : { buttons : {
text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'), text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'),
...@@ -417,7 +420,7 @@ define('package/quiqqer/bricks/bin/guides/General', [ ...@@ -417,7 +420,7 @@ define('package/quiqqer/bricks/bin/guides/General', [
element: function () { element: function () {
return BrickSettings.getElm().getElement('[name="content"]') return BrickSettings.getElm().getElement('[name="content"]')
}, },
on : 'right' on : 'left'
}, },
buttons : { buttons : {
text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'), text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'),
...@@ -502,10 +505,10 @@ define('package/quiqqer/bricks/bin/guides/General', [ ...@@ -502,10 +505,10 @@ define('package/quiqqer/bricks/bin/guides/General', [
Panel.openProject(); Panel.openProject();
PanelUtils.openSitePanel(projectName, projectLang, 1) PanelUtils.openSitePanel(projectName, projectLang, 1)
.then(function (CreatedPanel) { .then(function (CreatedPanel) {
SitePanel = CreatedPanel; SitePanel = CreatedPanel;
Bricks.next.delay(500); Bricks.next.delay(500);
}); });
}); });
}); });
} }
...@@ -519,7 +522,7 @@ define('package/quiqqer/bricks/bin/guides/General', [ ...@@ -519,7 +522,7 @@ define('package/quiqqer/bricks/bin/guides/General', [
element: function () { element: function () {
return SitePanel.getElm().getElement('[name="quiqqer.bricks"]'); return SitePanel.getElm().getElement('[name="quiqqer.bricks"]');
}, },
on : 'right' on : 'left'
}, },
buttons : { buttons : {
text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'), text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'),
...@@ -599,21 +602,21 @@ define('package/quiqqer/bricks/bin/guides/General', [ ...@@ -599,21 +602,21 @@ define('package/quiqqer/bricks/bin/guides/General', [
on : 'right' on : 'right'
}, },
buttons : false, buttons : false,
// { // {
// text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'), // text : QUILocale.get(lg, 'tour.general.bricks.Button.Weiter'),
// action: function () { // action: function () {
// //console.log(document.getElements('.qui-window-popup.box .qui-window-popup-content.box .qui-elements-list-item.smooth')[0]); // //console.log(document.getElements('.qui-window-popup.box .qui-window-popup-content.box .qui-elements-list-item.smooth')[0]);
// //document.getElements('.qui-window-popup.box .qui-window-popup-content.box .qui-elements-list-item.smooth')[0].fireEvent('click'); // //document.getElements('.qui-window-popup.box .qui-window-popup-content.box .qui-elements-list-item.smooth')[0].fireEvent('click');
// var list = QUI.Controls.getByType('qui/controls/elements/List'); // var list = QUI.Controls.getByType('qui/controls/elements/List');
// console.log(list); // console.log(list);
// list = list[list.length-1]; // list = list[list.length-1];
// console.log(list); // console.log(list);
// var entries = list.getElm().getChildren(); // var entries = list.getElm().getChildren();
// var entry = entries[entries.length - 1]; // var entry = entries[entries.length - 1];
// console.log(entry); // console.log(entry);
// entry.click(); //Das funktioniert leider nicht die entries haben keine click funktion // entry.click(); //Das funktioniert leider nicht die entries haben keine click funktion
// Bricks.next.delay(1000); // Bricks.next.delay(1000);
// } // }
// }, // },
when : { when : {
show: function () { show: function () {
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren