跳至内容
菜单
此问题已终结
1 回复
5413 查看

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.

相关帖文 回复 查看 活动
1
8月 20
5311
2
12月 18
27326
0
3月 15
4927
1
3月 21
7613
0
1月 21
583