Fix on creating a new status

You were unable to create a new status because the page would reload itself when the modal appeared.

The problem was that the button was triggering the post's form. Adding type="button" to the button class, it will not.
merge-requests/17/head
Santiago 8 years ago
parent 38dd4ee7c9
commit 915d434d9c

@ -104,7 +104,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
<h4>
<?php echo $hesklang['statuses']; ?>
<span class="nu-floatRight panel-button">
<button class="btn btn-success" data-toggle="modal" data-target="#modal-status-new">
<button type="button" class="btn btn-success" data-toggle="modal" data-target="#modal-status-new">
<i class="fa fa-plus-circle"></i>
<?php
echo $hesklang['new_status'];

Loading…
Cancel
Save