mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Updating the materialize library and calls.
This commit is contained in:
parent
a118bf38fc
commit
e44ef98be4
17 changed files with 10582 additions and 15529 deletions
|
|
@ -1,11 +1,12 @@
|
|||
|
||||
import { M } from '../../lib/assets/materialize.js';
|
||||
|
||||
Template.myModal.onCreated(function() {
|
||||
|
||||
});
|
||||
|
||||
Template.myModal.onRendered(function() {
|
||||
$('.modal').modal();
|
||||
var elems = document.querySelectorAll('.modal');
|
||||
var instances = M.Modal.init(elems, {});
|
||||
});
|
||||
|
||||
Template.myModal.helpers({
|
||||
|
|
@ -30,7 +31,7 @@ Template.myModal.events({
|
|||
} else {
|
||||
$("#genModal").modal('close');
|
||||
|
||||
window[callFunction](functionPassId); // <-- calls the function and passed the Id on confirm.
|
||||
window[callFunction](functionPassId); // <-- calls the function and passes the Id on confirm.
|
||||
}
|
||||
},
|
||||
'click #cancel' (event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue