Commit a237322b by Calen Pennington

Merge pull request #359 from MITx/ichuang/minor-fix-edit-link

change edit link showhide to use <a> instead of <input> type submit
parents 9cba2232 9d2b821c
......@@ -3,12 +3,8 @@ ${module_content}
<div><a href="${edit_link}">Edit</a></div>
% endif
<script type="text/javascript">
$('#${element_id}_showhide').click(function(){$('#${element_id}_debug').toggle(); })
</script>
<div class="staff_info">
<input type="submit" id="${element_id}_showhide" value="Staff Debug Info"/>
<a href="javascript:void(0)" onclick="javascript:$('#${element_id}_debug').toggle()">Staff Debug Info</a>
<span style="display:none" id="${element_id}_debug">
definition = <pre>${definition | h}</pre>
metadata = ${metadata | h}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment