diff --git a/api/js/etemplate/et2_widget_button.ts b/api/js/etemplate/et2_widget_button.ts index 438bfb48df..4e32e18933 100644 --- a/api/js/etemplate/et2_widget_button.ts +++ b/api/js/etemplate/et2_widget_button.ts @@ -463,4 +463,4 @@ export class et2_button extends et2_baseWidget implements et2_IInput, et2_IDetac }); } } -et2_register_widget(et2_button, ["button", "buttononly"]); +et2_register_widget(et2_button, ["button", "buttononly", "old-button", "old-buttononly"]); diff --git a/api/js/etemplate/et2_widget_number.ts b/api/js/etemplate/et2_widget_number.ts index 5050deb24e..9980c9f9c8 100644 --- a/api/js/etemplate/et2_widget_number.ts +++ b/api/js/etemplate/et2_widget_number.ts @@ -169,7 +169,7 @@ export class et2_number extends et2_textbox } } } -et2_register_widget(et2_number, ["int", "integer", "float"]); +et2_register_widget(et2_number, ["int", "integer", "float", "old-int"]); /** * Extend read-only to tell it to ignore special attributes, which