Grüße,
ist es denn wenigstens möglich, dieses Modal beim Seitenaufruf anzuzeigen und die Möglichkeit zu geben, dass wenn es geschlossen wird, dass dies für Gäste und Registrierte User für 24Std gespeichert wird?
JavaScript
define(["Ui/Dialog"], function(UiDialog) {
"use strict";
function Foo() {};
Foo.prototype = {
bar: function() {
// this will issue an ajax request with the parameter `value` set to `1`
UiDialog.open(this);
},
_dialogSetup: function() {
return {
id: "Modal",
source: "<p>Hello World!</p>",
options: {
onClose: function() {
// the fancy dialog was closed!
}
}
}
}
};
return Foo;
});
Alles anzeigen