Permalink
Browse files

remove method links from menu for now

  • Loading branch information...
1 parent 7d8eb54 commit ca6952bd22f150e02880875a551f84748890ad89 @brandonmwest committed Apr 2, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 public/js/default.js
  2. +1 −1 views/_menu.haml
  3. +1 −1 views/_templates.haml
View
@@ -473,9 +473,9 @@ var updateMethodMenuItem = function(menuItem, endpointIndex, newId, oldId) {
else
placeholder = '!method!';
- link = menuItem.children('a').first();
+ link = menuItem.children('span').first();
link.attr('id', 'endpoint' + endpointIndex + 'method' + newId + 'Actuator');
- link.attr('href', '#endpoint' + endpointIndex + 'method' + newId );
+ //link.attr('href', '#endpoint' + endpointIndex + 'method' + newId );
if(link.text().length == 0)
link.text("New Method");
View
@@ -14,4 +14,4 @@
-e["methods"].each do |m|
-method_count=method_count+1
%li
- %a.methodActuator{:href => "#endpoint#{count}method#{method_count}", :id => "endpoint#{count}method#{method_count}Actuator"} #{m.MethodName}
+ %span.methodActuator{:id => "endpoint#{count}method#{method_count}Actuator"} #{m.MethodName}
View
@@ -170,4 +170,4 @@
.template.hide(id = "methodMenuTemplate")
%li
- %a.methodActuator New Method
+ %span.methodActuator New Method

0 comments on commit ca6952b

Please sign in to comment.