Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove method links from menu for now

  • Loading branch information...
commit ca6952bd22f150e02880875a551f84748890ad89 1 parent 7d8eb54
@brandonmwest authored
View
4 public/js/default.js
@@ -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
2  views/_menu.haml
@@ -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
2  views/_templates.haml
@@ -170,4 +170,4 @@
.template.hide(id = "methodMenuTemplate")
%li
- %a.methodActuator New Method
+ %span.methodActuator New Method
Please sign in to comment.
Something went wrong with that request. Please try again.