Subject: I found the solution…
I found the solution in the forum Always look in the forum first!
To make up for my mistake I post an example:
You have to change the “Custom_JS_Lite”-subform (but I’m in Full mode, a little bit confusing).
Don’t forget to uncomment the tags.
Then past this lines of code under the: “function Custom_Scene_Actions_Lite(s_MenuID){”
var aAdd1 = [{title:“Hello world”, find_id: “new”, id: “hello1”, before: true, action:“return {myCode: alert('Hello1')}”, help_text:“some hover text” }];
addActionsLite( s_MenuID, true, aAdd1 );
It will now look like:
function Custom_Scene_Actions_Lite(s_MenuID)
{
var aAdd1 = [{title:“Hello world”, find_id: “new”, id: “hello1”, before: true, action:“return {myCode: alert('Hello1')}”, help_text:“some hover text” }];
addActionsLite( s_MenuID, true, aAdd1 );
//START EXAMPLE
Don’t use my ”action:“return {myCode: alert('Hello1')}”” in a production environment I don’t know how or way it is working, but you don’t have to uncomment the examples
Then use the brilliant console command:
tell http inotes flushforms
Clear the cache in the browser……
Hit Ctrl+F5.
Tobias
http://www.infoware.se