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.
14 lines
395 B
14 lines
395 B
/** @odoo-module **/
|
|
|
|
import publicWidget from 'web.public.widget';
|
|
//Redirect from subscription_change_button to previous page
|
|
publicWidget.registry.boolean_true = publicWidget.Widget.extend({
|
|
selector: '#boolean_true',
|
|
events: {
|
|
'click .redirect_back_with_data':'_onClickBack',
|
|
},
|
|
//Previous page
|
|
_onClickBack:function(ev){
|
|
window.history.back();
|
|
}
|
|
})
|
|
|