|
@@ -454,6 +454,12 @@ function PROCES_ADD_ZASOB() {
|
|
|
<script>
|
|
<script>
|
|
|
jQuery(document).ready(function() {
|
|
jQuery(document).ready(function() {
|
|
|
jQuery('.conn_wsk-list_item-rmBtn').each(function(ind, n) {
|
|
jQuery('.conn_wsk-list_item-rmBtn').each(function(ind, n) {
|
|
|
|
|
+ jQuery(n).click(function(){
|
|
|
|
|
+ if (!confirm('Czy na pewno chcesz usunąć ten wskaźnik?')) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
var btn = jQuery('<button class="btn-link btn-small conn_wsk-list_item-editBtn" title="edytuj wskaźnik"><i class="icon icon-edit"></i></button>');
|
|
var btn = jQuery('<button class="btn-link btn-small conn_wsk-list_item-editBtn" title="edytuj wskaźnik"><i class="icon icon-edit"></i></button>');
|
|
|
btn.data('cw_id', n.value);
|
|
btn.data('cw_id', n.value);
|
|
|
btn.on('click', function(e) {
|
|
btn.on('click', function(e) {
|