All language subtitles for 3. Close modal fix

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French Download
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,180 --> 00:00:05,340 In the previous lecture, we have fixed up this profile functionality in this lecture, we'll take a 2 00:00:05,340 --> 00:00:07,410 look at while the model is closing. 3 00:00:07,830 --> 00:00:10,140 Then the profile is updated. 4 00:00:11,730 --> 00:00:12,840 All right, let's start with this. 5 00:00:14,010 --> 00:00:19,050 And this is happening because, as I mentioned, the last lecture on a success is still executed is 6 00:00:19,050 --> 00:00:20,250 this call is correct. 7 00:00:20,640 --> 00:00:23,010 And also they are changing opening to the falls. 8 00:00:23,010 --> 00:00:27,510 But this value is doing nothing, as you can see is open is not now in the template. 9 00:00:27,510 --> 00:00:28,650 They are not controlling on a model. 10 00:00:28,650 --> 00:00:34,230 From here, we are controlling our model from model view, and here we have these open images controlling 11 00:00:34,230 --> 00:00:35,280 the state of the model. 12 00:00:36,750 --> 00:00:39,390 So what we are going to do instead? 13 00:00:40,300 --> 00:00:47,260 We'll be passing the callback through their own model, submit here, will either object like this available 14 00:00:47,290 --> 00:00:52,020 will pass on success function, which will simply set this open. 15 00:00:52,060 --> 00:00:54,790 This is open to be false. 16 00:00:56,560 --> 00:00:56,920 False. 17 00:00:58,260 --> 00:01:04,020 As I mentioned this on, what I'll submit here is is a basically your public profile function because 18 00:01:04,020 --> 00:01:05,230 that's what you are passing, right? 19 00:01:05,230 --> 00:01:08,820 So here are these public profile you are passing to on models. 20 00:01:08,820 --> 00:01:14,600 Submit your own models, submit is the same function public profile which you are calling here and they'll 21 00:01:14,610 --> 00:01:15,060 submit to. 22 00:01:15,070 --> 00:01:20,940 These are public profile and you are calling the public profile and you are passing into its argument 23 00:01:20,940 --> 00:01:23,790 as his argument on success callback function. 24 00:01:25,390 --> 00:01:27,800 So now you know what you can do in a profile model. 25 00:01:27,980 --> 00:01:34,270 We'll go to your public profile, you know, rather curly brackets and who can this actualize their 26 00:01:34,270 --> 00:01:35,410 own success? 27 00:01:35,410 --> 00:01:40,950 Because that's what you are passing through your model, the view, and simply got his own success function 28 00:01:41,650 --> 00:01:42,100 here. 29 00:01:44,330 --> 00:01:46,340 OK, so that's that's it. 30 00:01:46,580 --> 00:01:49,900 Go to your mother, look for you for a second, so that's the function you are passing here. 31 00:01:50,000 --> 00:01:53,780 All they'll submit and there's on typo, as you notice here. 32 00:01:53,810 --> 00:01:59,000 There should be two scenes like this on success because that's what they are passing called the profile 33 00:01:59,000 --> 00:01:59,780 profile model. 34 00:02:00,350 --> 00:02:02,570 So remember about public profile. 35 00:02:02,570 --> 00:02:07,760 You are getting passed to the props, to the model of the view and your own model submit is basically 36 00:02:07,760 --> 00:02:12,770 your public profile at the same function of their profile and to this function through your model not 37 00:02:12,770 --> 00:02:17,400 to be, you know, you're passing on success as a parameter here as an object. 38 00:02:17,610 --> 00:02:20,630 There is a function of the own success and that's what you are. 39 00:02:20,630 --> 00:02:24,950 The structure rising up here does the dysfunctionality to struggle is open to false? 40 00:02:26,160 --> 00:02:30,870 Now you can try it out, and before that, we can also rebel from data is open because we don't require 41 00:02:30,900 --> 00:02:32,190 it here any longer. 42 00:02:33,090 --> 00:02:34,830 Let's say let's go back to our browsers. 43 00:02:36,300 --> 00:02:42,390 The applications I believe for are just in case, and I will I believe, the profile informations update. 44 00:02:43,110 --> 00:02:43,550 All right. 45 00:02:43,680 --> 00:02:45,570 Remotest parts if changes? 46 00:02:46,410 --> 00:02:47,130 It's closed. 47 00:02:47,250 --> 00:02:47,970 Proposed updated. 48 00:02:47,970 --> 00:02:50,790 Our refresh to see the change is really persists. 49 00:02:50,880 --> 00:02:51,540 It should be. 50 00:02:51,540 --> 00:02:52,290 And yeah. 51 00:02:54,270 --> 00:02:59,150 OK, so now our model functionalities fixed, now we have our reusable model functionality, we can 52 00:02:59,160 --> 00:03:05,640 reuse also in other components and it'll start started our exchange details, so they'll be working 53 00:03:05,640 --> 00:03:06,450 here on a. 54 00:03:07,980 --> 00:03:12,630 On our model here on the opportunity model, I'll be talking about more about opportunity feature in 55 00:03:12,630 --> 00:03:14,430 the next lecture, so I hope to see you there. 56 00:03:14,470 --> 00:03:14,850 Cheers. 5242

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.