ui/menu/extensible.html [35:76]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { id: "help-items", text: "Help", title: "Help", showText: true, noIcon: true, groupId: "text" } ]; } function onToolbarItemClick(sender, args) { var command = args.get_commandName(), commandArgument = args.get_commandArgument(), that = this, result = false; switch (command) { case "refresh-items": alert("refresh"); break; case "clear-items": alert("clear"); break; case "start-items": alert("start"); break; case "stop-items": alert("stop"); break; case "help-items": alert("help"); break; default: result = true; break; } return result; }; }); });
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ui/menu/simple.html [35:76]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { id: "help-items", text: "Help", title: "Help", showText: true, noIcon: true, groupId: "text" } ]; } function onToolbarItemClick(sender, args) { var command = args.get_commandName(), commandArgument = args.get_commandArgument(), that = this, result = false; switch (command) { case "refresh-items": alert("refresh"); break; case "clear-items": alert("clear"); break; case "start-items": alert("start"); break; case "stop-items": alert("stop"); break; case "help-items": alert("help"); break; default: result = true; break; } return result; }; }); });
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -