|
|
@@ -816,6 +816,7 @@ class Member extends Component
|
|
|
$this->update = false;
|
|
|
$this->emit('setEdit', true);
|
|
|
$this->emit('setEditCorso', false);
|
|
|
+ $this->dispatchBrowserEvent('scroll-to-top');
|
|
|
}
|
|
|
|
|
|
public function store($close)
|
|
|
@@ -1188,12 +1189,14 @@ class Member extends Component
|
|
|
$this->emit('setIds', $this->nation_id, $this->birth_nation_id);
|
|
|
|
|
|
$this->emit('load-select');
|
|
|
-
|
|
|
+
|
|
|
$this->emit('load-provinces', $this->nation_id, 'provinceClass');
|
|
|
$this->emit('load-provinces', $this->birth_nation_id, 'provinceBirthClass');
|
|
|
-
|
|
|
+
|
|
|
$this->emit('load-cities', $this->province_id, 'cityClass');
|
|
|
$this->emit('load-cities', $this->birth_province_id, 'cityBirthClass');
|
|
|
+
|
|
|
+ $this->dispatchBrowserEvent('scroll-to-top');
|
|
|
}
|
|
|
} catch (\Exception $ex) {
|
|
|
session()->flash('error', 'Errore (' . $ex->getMessage() . ')');
|