Make support for some old widgets

This commit is contained in:
Hadi Nategh 2022-10-18 17:44:31 +02:00
parent 5f3570768d
commit d1ff0a8b4f
2 changed files with 2 additions and 2 deletions

View File

@ -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"]);

View File

@ -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 * Extend read-only to tell it to ignore special attributes, which