Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5443 Переглядів

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
5333
2
груд. 18
27356
0
бер. 15
4965
1
бер. 21
7624
0
січ. 21
583