Fix bug #677 osm nsi-op-list name' and 'osm nsi-op-show id' returns null
[osm/LW-UI.git] / instancehandler / template / instance_operations_list.html
index 1568717..3f54f1f 100644 (file)
                     "render": function (data, type, row) {
                         return '<div class="btn-group">\n' +
                             '     <button type="button" class="btn btn-default"\n' +
-                            '             onclick="javascript:showOperationDetails(\''+row["nsInstanceId"]+'\', \''+row["_id"]+'\')"\n' +
+                            '             onclick="javascript:showOperationDetails(\''+instance_type+'\', \''+instance_id+'\', \''+row["_id"]+'\')"\n' +
                             '             data-toggle="tooltip" data-placement="top" data-container="body" title="Show Info">\n' +
                             '         <i class="fa fa-info"></i>\n' +
                             '     </button>\n' +
 
 {% block footer %}
     {% include "footer.html" %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}