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