Commit e9c24e0c authored by Romain Courteaud's avatar Romain Courteaud 🐙

erp5_web_renderjs_ui: refresh the submit button if the parameters change

Fixup 5eb06085
parent 8f1c0552
Pipeline #40159 failed with stage
in 0 seconds
......@@ -245,7 +245,9 @@
return new RSVP.Queue()
.push(function () {
// Set the dialog button
if (modification_dict.hasOwnProperty('has_update_action') ||
if (modification_dict.hasOwnProperty('has_action') ||
modification_dict.hasOwnProperty('action_title') ||
modification_dict.hasOwnProperty('has_update_action') ||
modification_dict.hasOwnProperty('update_action_title')) {
return form_gadget.getTranslationList(['Update', 'Proceed', 'Cancel'])
......
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