Commit b5486f0a authored by bbaer's avatar bbaer
Browse files

#4144: Entwurf, Warnungsfenster mit Reload button webb record gelockt.

parent 74c03803
......@@ -249,7 +249,17 @@ var QfqNS = QfqNS || {};
message = new n.Alert({
message: obj.data.message,
type: messageType,
timeout: n.Alert.constants.NO_TIMEOUT
timeout: n.Alert.constants.NO_TIMEOUT,
modal: true,
buttons: [
{
label: "Reload",
eventName: 'reload'
}
]
});
message.on('alert.reload', function () {
window.location.reload(true);
});
message.show();
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment