ItemsView.prototype._onToolbarItemClick = function()

in ui/menu/scripts/itemView.js [59:82]


        ItemsView.prototype._onToolbarItemClick = function (sender, args) {
            var command = args.get_commandName(), commandArgument = args.get_commandArgument(), that = this, result = false;
			switch (command) {
				case "refresh-items":
					this._refreshItems();
					break;
				case "clear-items":
					this._clearItems();
					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;
        };