Switch statement fires all @html.partials and not the selected value

I’m setting up a function to send specific e-mail based on a selection from a select dropdown menu. Based on the selection the specific mail needs to be send. The mails are being send from a partialview that works as a handler.

When the page loads every partial view is rendered and all the mails are being send, and I can’t see why this shouldn’t work.

This is made in umbraco, and the partials are made from the backoffice so there is no controller to render from. and I’ve tried switch and if statements but can’t really get it to work the way I want to.

//My attempt at the function for the rendering of partials     function SendMail(){     var select = document.getElementById("foo");     var selected = select.options[select.selectedIndex].value;      if (selected == 1) {         $  .ajax({ url: @Html.Partial("Web/Partial1", @Model.boo) })     }      if(selected == 2){         $  .ajax({ url: @Html.Partial("Web/Partial2", @Model.boo)})     }      //switch (selected) {     //    case '0':     //        alert(selected);     //        break;     //    case '1':     //        alert(selected);             //   $  .ajax({ url: Html.Partial("Web/Partial1", Model.boo)})     //        break;     //    case '2':     //        alert(selected);          //   $  .ajax({ url: Html.Partial("Web/Partial2", Model.boo)})     //             

//This is my select html.

<select id="foo" onchange="SendMail()"> <option value="0" selected="selected">Vælg en type</option> <option value="1">Ordrebekræftigelse</option> <option value="2">Betalingsmail</option> </select> 

A Druid Circle Based on Forest Fires and Regrowth: is this balanced with Land Circle Druids?

Inspired by a question by Stephanos and tempered by the PEACH process at GiTP, I am asking for a comparison to Circle of the Land druid sub classes for this Druid proposed sub class, homebrew, since my answer to Stephanos just didn’t satisfy me. As with Stephanos’ idea, this sub class combines a raw fire elemental focus with an increase on melee engagement by the Druid, but it does not benefit from the spell recovery feature of other Land Circle druids. Is it balanced, or underpowered, as compared to the Land Circle druid sub classes? It also does not try to do as much as the other model in terms of using XGTE spells.

Circle of Flame

Fire burns the forest. Out of the ashes comes new growth. Druids who choose the Circle of Flame balance between destruction and regrowth. Wind spreads forest fires, cleansing a greater area. Lightning starts forest fires when it strikes a dead tree. From fiery death grow new beginnings. Druids in the Circle of Flame believe that everything will burn one day, to be re-born again.

Circle of Flame spells (always prepared)

at level 3 Scorching Ray, Gust of Wind
at level 5 Revivify, Lightning Bolt
at level 7 Grasping Vine, Fire Shield
at level 9 Control Winds, Flame Strike

Only You

When you choose the Circle of Flame at level 2, you gain the fire bolt cantrip.

Heart of the Flame

At 2nd level, as an action, you can expend a use of your Wild Shape feature to awaken the primordial spirits of Fire rather than transforming into a beast form. While this feature is active, you gain the following benefits:

  • Add your Wisdom Modifier to your AC

  • Add Fire damage equal to your Wisdom modifier to your melee attacks

  • You can use your reaction to heal yourself, or an allied creature within 10 feet of you, for 1d4 hit points. This healing increases to 1d6 at 5th level, 1d8 at 11th level, and 1d10 at 13th level.

    These effects last for 1 minute, or until you are reduced to 0 hit points.

Heat of Battle

Starting at level 6, the druid gets an Extra Attack when taking the Attack action.

Flaming Soul

At level 10 you gain resistance to fire damage. While concentrating on a spell that does fire damage, you gain +2 to your armor class.

From the Ashes

Starting level 14, as a reaction, you can absorb fire or lightning damage dealt to yourself, or to a single friendly creature within 30′ of you. You, or the friendly creature (whomever was subjected to the damage) instead heals for the amount of damage taken. This feature refreshes on a short or long rest.

If I have missed the balance point here, where did I miss and by how far?
One of the issues I’ve had with playing druids is that a lot of their spells require concentration. A weakness for this sub class is that by engaging in melee more often than a pure spell caster, the chance of concentration being lost would appear to increase.

Fuji X-T2 troubleshooting: On-camera flash fires only once

this is an issue that has only started showing up and seem to point towards something physically wrong with the camera/ hot shoe somehow. The problem is any flash that I mount on camera only fires on the first shot, and doesn’t on any shot after. Turning the camera off then on again between shots is the only solution to use a flash currently, and it’s obviously frustrating and not the most practical solution. Even then, the shot isn’t properly exposed either. Same exact problem with both the Godox tt685f and the EF-X8.

Camera is in manual shutter and not ES, single shot mode and not in continuous or BKT mode, does the same thing in both manual and TTL modes, fully charged batteries in camera and flash, cleaned connector pins on camera and flash, flash confirmation on the left side of screen is visible (flash icon is not crossed out) so the camera knows it has a flash mounted. I haven’t tried updating camera and flash firmware, in the case of the Godox. I also haven’t tried using the Godox off-camera with a trigger yet.

I was using these flashes earlier in the year no problem which is the main reason why this all confusing and seems to point towards something broken in the camera somehow. Seems like something is stopping them from firing after that first shot. Just want to see if anyone has experienced this issue before, and has possible fixes before thinking about getting camera repaired. Completely baffled what is going on.