]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/contacts-template.tpl
Merge branch 'develop' into improvement/frio-action-links-to-buttons
[friendica.git] / view / theme / frio / templates / contacts-template.tpl
index d51298038ba4f8ad23defe7105ae77a394f1f21c..13617692b8a06b6588713322723ddacf329cbb2d 100644 (file)
                {{* We put the contact batch actions in a dropdown menu *}}
                <ul class="nav nav-pills preferences">
                        <li class="dropdown pull-right">
-                               <a class="btn btn-link btn-sm dropdown-toggle" type="button" id="BatchActionDropdownMenuTools" data-toggle="dropdown" aria-expanded="true">
+                               <button type="button" class="btn-link btn-sm dropdown-toggle" id="BatchActionDropdownMenuTools" data-toggle="dropdown" aria-expanded="true">
                                        <i class="fa fa-angle-down"></i>&nbsp;{{$h_batch_actions}}
-                               </a>
+                               </button>
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="BatchActionDropdownMenuTools">
                                {{foreach $batch_actions as $n=>$l}}
                                        <li role="menuitem">
                                                {{* call the js batch_submit_handler. Have a look at the buttom of this file *}}
-                                               <a onclick="batch_submit_handler('{{$n}}', '{{$l}}')">{{$l}}</a>
+                                               <button type="button" class="btn-link" onclick="batch_submit_handler('{{$n}}', '{{$l}}')">{{$l}}</button>
                                        </li>
                                {{/foreach}}
                                </ul>
@@ -75,7 +75,7 @@
      return false;
     }
   });
+
   // add javascript confirm dialog to "drop" links. Plain html url have "?confirm=1" to show confirmation form, we need to remove it
   $(".drop").each(function() {
    $(this).attr('href', $(this).attr('href').replace("confirm=1","") );
@@ -87,7 +87,7 @@
      return false;
     }
    });
-   
+
   });
  });