Created
October 8, 2009 17:14
-
-
Save edavis10/205174 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Redmine menu that calls a JavaScript function | |
Redmine::MenuManager.map :project_menu do |menu| | |
menu.push :javascript, { :controller => 'projects', :action => 'show' }, {:html => {:onclick => 'alert("hi"); return false;', :id => 'f'}} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment