In my custom theme I have something like this:
<script type="text/discourse-plugin" version="0.8">
bootbox.alert('alert text');
</script>
How can I access the dialog service in the theme, since it seems to not be globally available?
In my custom theme I have something like this:
<script type="text/discourse-plugin" version="0.8">
bootbox.alert('alert text');
</script>
How can I access the dialog service in the theme, since it seems to not be globally available?