Lines 153-159
Link Here
|
153 |
[% MY_TAG.date_created | $KohaDates %] |
153 |
[% MY_TAG.date_created | $KohaDates %] |
154 |
</span> |
154 |
</span> |
155 |
</td> |
155 |
</td> |
156 |
<td><input type="submit" name="del[% MY_TAG.tag_id %]" value="Delete" class="btn btn-danger btn-mini" /></td> |
156 |
<td><input type="submit" name="del[% MY_TAG.tag_id %]" value="Delete" class="btn btn-danger btn-mini delete" /></td> |
157 |
</tr> |
157 |
</tr> |
158 |
[% END %] |
158 |
[% END %] |
159 |
</tbody> |
159 |
</tbody> |
Lines 171-177
Link Here
|
171 |
[% INCLUDE 'datatables.inc' %] |
171 |
[% INCLUDE 'datatables.inc' %] |
172 |
<script type="text/javascript"> |
172 |
<script type="text/javascript"> |
173 |
//<![CDATA[ |
173 |
//<![CDATA[ |
|
|
174 |
|
174 |
$(document).ready(function(){ |
175 |
$(document).ready(function(){ |
|
|
176 |
var MSG_DELETE_TAG = _("Are you sure you want to delete this tag?"); |
177 |
$(".delete").on("click", function(){ |
178 |
return confirmDelete(MSG_DELETE_TAG); |
179 |
}); |
180 |
|
175 |
$("#mytagst").dataTable($.extend(true, {}, dataTablesDefaults, { |
181 |
$("#mytagst").dataTable($.extend(true, {}, dataTablesDefaults, { |
176 |
"aaSorting": [[ 2, "asc" ]], |
182 |
"aaSorting": [[ 2, "asc" ]], |
177 |
"aoColumnDefs": [ |
183 |
"aoColumnDefs": [ |
178 |
- |
|
|