finxing alert box
This commit is contained in:
@@ -244,7 +244,7 @@ module.exports = {
|
|||||||
clearMacros: async function () {
|
clearMacros: async function () {
|
||||||
if (this.tab == 0) {
|
if (this.tab == 0) {
|
||||||
document.getElementById("macros-name").value = "";
|
document.getElementById("macros-name").value = "";
|
||||||
document.getElementById("macros-color").value = "";
|
document.getElementById("macros-color").value = "#fff";
|
||||||
this.fileName = "default";
|
this.fileName = "default";
|
||||||
this.newGcode = "";
|
this.newGcode = "";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ script#macros-template(type="text/x-template")
|
|||||||
button.pure-button.button-submit(@click="sameName = false") OK
|
button.pure-button.button-submit(@click="sameName = false") OK
|
||||||
|
|
||||||
message(:show.sync="addMacros")
|
message(:show.sync="addMacros")
|
||||||
div(slot="body")
|
h3(slot="header") Do you need to add another macros?
|
||||||
p Do you need to add another macros?
|
p(slot="body")
|
||||||
div(slot="footer")
|
div(slot="footer")
|
||||||
button.pure-button(@click="addMacros = false") Cancel
|
button.pure-button(@click="addMacros = false") Cancel
|
||||||
button.pure-button.button-submit(@click="addNewMacros") Add
|
button.pure-button.button-submit(@click="addNewMacros") Add
|
||||||
|
|||||||
Reference in New Issue
Block a user