garthh hace 10 meses
padre
commit
a620b9e51b

+ 0 - 0
assets/javascripts/discourse/initializers/bbb.js.es6 → components/modal/bbb.js.es6


+ 6 - 4
assets/javascripts/discourse/templates/modal/insert-bbb.hbs → components/modal/insert-bbb.hbs

@@ -1,4 +1,5 @@
-<DModalBody @title="bbb.modal.title" @class="insert-bbb">
+<DModal @closeModal={{@closeModal}}>
+<:body @title="bbb.modal.title" @class="insert-bbb">
   <div class="insert-bbb-form">
     <div class="insert-bbb-input">
       <label>{{i18n "bbb.meetingID"}}</label>
@@ -25,9 +26,9 @@
     </div>
 
   </div>
-</DModalBody>
+</:body>
 
-<div class="modal-footer">
+<:footer>
   <DButton
     @class="btn-primary"
     @disabled={{insertDisabled}}
@@ -39,4 +40,5 @@
     @label="bbb.modal.cancel"
     @action={{action "cancel"}}
   />
-</div>
+</:footer>
+</DModal>

+ 0 - 0
assets/javascripts/discourse-bbb/controllers/insert-bbb.js.es6 → components/modal/insert-bbb.js.es6