This commit is contained in:
2019-04-19 20:57:06 +00:00
parent 56f8ee0a35
commit 2a15d8e1aa
6 changed files with 39 additions and 33 deletions

View File

@@ -107,9 +107,10 @@
/* Xeslint-disable */
import aboutInfo from "../api/aboutinfo";
// function clickHandler(item) {
// if (this.$gzmenu.isRelevantClick(item)) {
// alert("about.vue::context click: " + item.key);
// function clickHandler(menuItem) {
// var item = this.$gzmenu.parseMenuItem(menuItem);
// if (item.owner == "about" && !item.disabled) {
// alert("about::context click: " + item.key);
// }
// }

View File

@@ -130,8 +130,9 @@
<script>
/* xeslint-disable */
function clickHandler(item) {
if (this.$gzmenu.isRelevantClick(item)) {
function clickHandler(menuItem) {
var item = this.$gzmenu.parseMenuItem(menuItem);
if (item.owner == "inventory-widget-edit" && !item.disabled) {
alert("inventory-widget-edit.vue::context click: " + item.key);
}
}

View File

@@ -79,7 +79,7 @@ export default {
auth
.authenticate(this.input.username, this.input.password)
.then(() => {
this.$router.replace({ name: "home" });
this.$router.push({ name: "home" });
})
.catch(function handleCaughtLoginError(error) {
/* xeslint-disable-next-line */