Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5523 มุมมอง

Hello all,

when I click on « edit » on my frontend, I get this window « Select a media ».



Nothing happens when I click on « save ». Where is the code to manage the click on this « save » button? 


Here is the code for this window :

<templates id="template" xml:space="preserve">

<t t-name="website.editorbar">

...................  

<div class="modal-footer">

<button type="button" class="btn btn-primary save">Saveasedrfsd</button>

<button type="button" class="btn hidden wait" disabled="disabled"/>

.............


Thanks


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

The code is in website.editor.js file. The code are trigger in javascript..

Look for template: 'website.editor.dialog.media', the save function is trigger in there.

Nothing happen might be because your browser is blocking javascript from running.

อวตาร
ละทิ้ง
ผู้เขียน

thanks a lot. will try it this afternoon.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 20
5400
2
ธ.ค. 18
27447
0
มี.ค. 15
5043
1
มี.ค. 21
7738
0
ม.ค. 21
583