Last active
August 10, 2016 06:52
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
// Following is to remove the edit button in the detail page since for asset types | |
// wsdl, wadl, swagger, policy, schema, the edit operations are not allowed | |
for(var index = 0; index < page.leftNav.length; index++) { | |
var button = page.leftNav[index]; | |
// if(button.iconClass === "btn-edit") { | |
// page.leftNav.splice(index, 1); | |
// index--; | |
// } | |
if(button.iconClass === "btn-copy") { | |
page.leftNav.splice(index, 1); | |
index--; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment