Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Jul 19, 2023
1 parent ff110b1 commit 155b7c8
Showing 1 changed file with 9 additions and 29 deletions.
38 changes: 9 additions & 29 deletions src/runtimePipelineYazzUiMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -3497,7 +3497,7 @@ ${eventMessage.code}
return {}
`})



props.push({ id: "show",
name: "Show form()",
Expand Down Expand Up @@ -3539,48 +3539,28 @@ ${eventMessage.code}
return []
},
selectForm: function ( formId , showProps ) {
/*
________________________________________
| |
| |
| |
|______________________________________|
TO BE FILLED IN
__________
| Params |
| |______________________________________________________________
|
| NONE
|________________________________________________________________________ */
let mm = this


mm.active_component_index = null
mm.model.app_selected = false
mm.properties = mm.getFormProperties(formId)

mm.active_form = formId
mm.active_component_index = null
mm.model.app_selected = false
mm.properties = mm.getFormProperties( formId )
mm.active_form = formId
mm.refresh ++

if ( mm.model.forms[ formId ].form_activate && (!mm.design_mode)) {




if (!isValidObject(this.args)) {
//TODO
// WHY does this ever get called? remove it when you can!!!!
mm.args = mm.model
}

let args = mm.args
let app = mm.model
let crt = mm.model.forms[formId].form_activate
let formActivateCode = mm.model.forms[formId].form_activate

let formEvent = {
type: "form_event",
form_name: formId,
code: crt,
code: formActivateCode,
sub_type: "activate"
}
mm.processControlEvent(formEvent)
Expand Down

0 comments on commit 155b7c8

Please sign in to comment.