12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- function OnInitializeData(reload, preview) {
-
- PUI(()=>{
-
-
-
-
- });
- }
- function OnReady(reload, preview) {
-
- PUI(()=>{
-
-
-
-
- });
- }
- function OnCloseForm() {
- }
- function OnException(err) {
-
- }
- var name = '';
- function OnConfirm(){
-
- name = ui.modify_name.value;
- unit.form.tree.ModifyConstraintName(getName());
- unit.form.RenameConstraint.Close();
- }
- function getName() {
- return name;
- }
- function OnParentDockerMessage(type, para) {
- }
- function onDragFile(filepath) {
- }
- function PUI(cb) {
- if(pui){cb();}
- }
- function BLOCK_EVENT(cb) {
- ui.block_event = true;
-
- cb();
-
- ui.block_event = false;
- }
- function CW_DeclareVariable(name, setter, getter) {
- if(typeof(__DeclareVariable) === 'function') {
- __DeclareVariable(name, setter, getter);
- }
- }
- function CW_DeclareOuterVariable(name) {
- if(typeof(__DeclareOuterVariable) === 'function') {
- __DeclareOuterVariable(name);
- }
- }
|