Commit 926298cb3786846be5115455f70e2474fd8e9f78

Authored by Steve MARECHAL
1 parent bd7ac9ee

dojobutton : onclick added

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
calexium_lib/web/CXM_dojo.anubis
@@ -340,8 +340,9 @@ public define HTML_Off_Form @@ -340,8 +340,9 @@ public define HTML_Off_Form
340 String name, 340 String name,
341 String iconclass, 341 String iconclass,
342 String tip_msg, 342 String tip_msg,
  343 + String execute,
343 ) 344 )
344 = 345 =
345 literal(" 346 literal("
346 - <button dojoType=\"dijit.form.Button\" id=\"" + html_id.id + "\" iconClass=\"" + iconclass + "\">" + name + "</button> 347 + <button dojoType=\"dijit.form.Button\" id=\"" + html_id.id + "\" iconClass=\"" + iconclass + "\" onclick=\"" + execute + "\">" + name + "</button>
347 <span dojoType=\"dijit.Tooltip\" connectId=\"" + html_id.id + "\">" + tip_msg + "</span>"). 348 <span dojoType=\"dijit.Tooltip\" connectId=\"" + html_id.id + "\">" + tip_msg + "</span>").