diff --git a/public/visifile_drivers/all_system_components/yazz_blank.js b/public/visifile_drivers/all_system_components/yazz_blank.js index 12ab10503..c48d59bd1 100644 --- a/public/visifile_drivers/all_system_components/yazz_blank.js +++ b/public/visifile_drivers/all_system_components/yazz_blank.js @@ -39,8 +39,8 @@ formEditor({ ` } ], - testFn: "alert('testFn called')", - testAsyncFn: "alert('testAsyncFn called')", + testFn: "alert('testFn called. mm: ' + mm.model.test)", + testAsyncFn: "alert('testAsyncFn called. mm: ' + thecode)", "forms": { "Form_1": { "name": "Form_1", diff --git a/src/runtimePipelineYazzUiMethods.js b/src/runtimePipelineYazzUiMethods.js index 7f844c94e..bed5c249a 100644 --- a/src/runtimePipelineYazzUiMethods.js +++ b/src/runtimePipelineYazzUiMethods.js @@ -1619,7 +1619,7 @@ ${formprop.fn} let mm = this let methodSrcCode = mm.model[appMethodId] let thecode = - `(function(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) { +`(function(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) { ${methodSrcCode} })` @@ -1630,7 +1630,7 @@ ${methodSrcCode} let mm = this let methodSrcCode = mm.model[appMethodId] let thecode = - `(async function(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) { +`(async function(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) { ${methodSrcCode} })` @@ -1638,21 +1638,14 @@ ${methodSrcCode} return fnDetails }, deleteCursor: function ( ) { - /* - ________________________________________ - | | - | | - | | - |______________________________________| - - TO BE FILLED IN - - __________ - | Params | - | |______________________________________________________________ - | - | NONE - |________________________________________________________________________ */ + //---------------------------------------------------------------------------------- + // + // /-------------------------------------/ + // / deleteCursor / + // /-------------------------------------/ + // + //---------------------------------------------------------------------------- + //-------------------------------------------------------------------- document.getElementById(this.vb_grid_element_id).style.cursor = "crosshair" document.getElementById("grid_container").style.cursor = "default" if (this.oldCursor) {