Update channel.
This commit is contained in:
parent
3ea4918ca2
commit
ad3f46a9ae
src/snek
@ -26,6 +26,7 @@ class FileUploadGrid extends NjetComponent {
|
||||
}
|
||||
}
|
||||
})
|
||||
dialog.open();
|
||||
return false
|
||||
}
|
||||
|
||||
|
@ -1,18 +1,21 @@
|
||||
|
||||
<script type="module">
|
||||
import { NjetDialog } from "./njet.js"
|
||||
import { njet } from "/njet.js"
|
||||
|
||||
function deleteChannel(channelUid){
|
||||
const dialog = new NjetDialog({
|
||||
title: "Delete channel?",
|
||||
|
||||
buttons: [{
|
||||
text: "No"
|
||||
},{
|
||||
text: "Yes"
|
||||
}]
|
||||
|
||||
|
||||
const dialog = new njet.showDialog({
|
||||
title: 'Upload in progress',
|
||||
content: 'Please wait for the current upload to complete.',
|
||||
primaryButton: {
|
||||
text: 'OK',
|
||||
handler: function () {
|
||||
dialog.remove();
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user