Skip to content

Commit

Permalink
Can view the app properties again
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Oct 20, 2023
1 parent d7d3bd1 commit 329aa87
Showing 1 changed file with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions src/runtimePipelineYazzUiMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
return newControl
},
editAsCode: async function ( { app_selected , active_form , active_component_index , property_id } ) {
debugger

// This is called when the "..." button is pressed for
// a property in the property inspector
//
Expand Down Expand Up @@ -2905,8 +2905,6 @@ ${methodSrcCode}
document.getElementsByClassName("selectr-selected")[2].style["border-left"] = "2px solid gray"

selectCodeObject.on('selectr.select', function(option) {
debugger
//zzz
let dd = objectListForSelector[option.idx]
if (dd.component) {
mm.selectComponent(dd.component_index)
Expand All @@ -2928,7 +2926,7 @@ ${methodSrcCode}
mm.select_app()
mm.editAsCode({
app_selected: true,
active_form: null,
active_form: mm.active_form,
active_component_index: null,
property_id: "app_started_event"

Expand Down Expand Up @@ -3917,34 +3915,24 @@ ${code}
return properties
},
select_app: function ( ) {
//-------------------------------------------------------------------
// select_app
//----------------------------------------------------------------------------------
//
// /-------------------------------------/
// / select_app /
// /-------------------------------------/
//
//-------------------------------------------------------------------
/*
________________________________________
| |
| |
| |
|______________________________________|
TO BE FILLED IN
//----------------------------------------------------------------------------
// This is used to run user written event code in the app, form, or control
// event handlers
//--------------------------------------------------------------------

__________
| Params |
| |______________________________________________________________
|
| NONE
|________________________________________________________________________ */
let mm = this

this.active_component_index = null
this.model.app_selected = true
this.active_property_index = null
this.active_form = null
this.app_selected = true

//this.active_form = null
//this.app_selected = true
this.properties = mm.getAllAppProperties()

this.updatePropertySelector()
Expand Down

0 comments on commit 329aa87

Please sign in to comment.