Created
May 11, 2010 18:16
-
-
Save tivac/397631 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Y.on( | |
"click", | |
function (e) { | |
var function_code = e.target.get("id").split("-")[1]; | |
Y.log('handling click...' + function_code, "info", log_key); | |
var container = Y.one("#manage_action"); | |
Y.io( | |
menu_config["base_url"] + function_code, | |
{ | |
on: { | |
complete : function (txnId, response) { | |
container.set("innerHTML", response.responseText); | |
}, | |
} | |
} | |
); | |
}, | |
Y.all("#manage_menu a.yui3-menuitem-content, #manage_menu em.yui3-menuitem-content") | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment