You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
504 B

odoo.define('backend_theme_infinito_plus.ThemeStudioMenu', function (require) {
"use strict";
var core = require('web.core');
var ThemeStudioMenu = require('backend_theme_infinito.ThemeStudioMenu');
var ajax = require('web.ajax');
ThemeStudioMenu.include({
// reset all the features
_onResetClick: async function(ev){
this._super.apply(this, arguments);
await ajax.jsonRpc('/theme_studio_plus/reset_to_default_style', 'call', {});
},
})
});