From f2348626db562123d2e2b91c07aa3d7c566f128b Mon Sep 17 00:00:00 2001 From: ilestis Date: Sun, 30 Jun 2024 16:07:38 -0600 Subject: [PATCH] Remove jquery wip --- resources/js/components/families/FamilyTree.vue | 10 ++++------ resources/js/components/passport/Clients.vue | 2 -- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/resources/js/components/families/FamilyTree.vue b/resources/js/components/families/FamilyTree.vue index cd9742c468..a390feacb8 100644 --- a/resources/js/components/families/FamilyTree.vue +++ b/resources/js/components/families/FamilyTree.vue @@ -126,7 +126,7 @@
- +
@@ -204,7 +204,6 @@ export default { maxX: 0, maxY: 0, - colourField: 'input[name="colour"]', modal: 'family-tree-modal', founderField: 'select[name="founder_id_ft"]', entityField: 'select[name="character_id_ft"]', @@ -397,7 +396,7 @@ export default { if (object.uuid === this.currentUuid) { object.role = this.relation; object.cssClass = this.cssClass; - object.colour = $(this.colourField).val(); + object.colour = this.colour; object.visibility = this.visibility; object.isUnknown = this.isUnknown; result.push(object); @@ -423,7 +422,6 @@ export default { }, addRelation() { let entity_id = $(this.entityField).val(); - this.colour = $(this.colourField).val(); if (this.isUnknown) { this.insertUnknownRelation(); this.isDirty = true; @@ -638,7 +636,7 @@ export default { object.role = this.relation; object.isUnknown = this.isUnknown; object.cssClass = this.cssClass; - object.colour = $(this.colourField).val(); + object.colour = this.colour; object.visibility = this.visibility; object.entity_id = object.entity_id; result.push(object); @@ -674,7 +672,7 @@ export default { } object.role = this.relation; object.cssClass = this.cssClass; - object.colour = $(this.colourField).val(); + object.colour = this.colour; object.visibility = this.visibility; object.isUnknown = this.isUnknown; object.entity_id = entity_id; diff --git a/resources/js/components/passport/Clients.vue b/resources/js/components/passport/Clients.vue index 232e50e70b..d0ad85d404 100644 --- a/resources/js/components/passport/Clients.vue +++ b/resources/js/components/passport/Clients.vue @@ -285,7 +285,6 @@ this.openModal('editModal'); this.$refs.editName.focus(); - //$('#modal-edit-client').modal('show'); }, /** @@ -312,7 +311,6 @@ form.redirect = ''; form.errors = []; - //$(modal).modal('hide'); this.closeModal(modal); }) .catch(error => {