Commit a7ffbc92 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_xhtml_style] Support some methods used in ERP5JS

parent 66ed6d58
......@@ -69,6 +69,23 @@
return displayFieldError(argument_list[0]);
})
/////////////////////////////////////////////////////////////////
// Support some methods used in ERP5JS
/////////////////////////////////////////////////////////////////
.allowPublicAcquisition('notifyChange',
function () {
return;
})
.allowPublicAcquisition('notifyValid',
function () {
return;
})
.allowPublicAcquisition('notifySubmit', function () {
return this.element.querySelector('form').querySelector('[type="submit"]').click();
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment